Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005698/0.005698, allocations: 104.3 kB / 15.73 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 189.8 kB / 16.67 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156/1.157, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007296/1.165, allocations: 4.16 MB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004928/1.17, allocations: 2.35 MB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004557/1.17, allocations: 7.938 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/1.172, allocations: 0.5419 MB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001005/1.173, allocations: 294.6 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/1.174, allocations: 348.4 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000935/1.175, allocations: 0.5723 MB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006865/1.176, allocations: 364.8 kB / 1.175 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004875/1.176, allocations: 227.3 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007267/1.177, allocations: 283 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/1.177, allocations: 32 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007403/1.178, allocations: 283.5 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002344/1.178, allocations: 183.5 kB / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003104/1.179, allocations: 207 kB / 1.176 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/1.18, allocations: 0.6689 MB / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.18, allocations: 0 / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.613e-06/1.18, allocations: 0 / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.118e-05/1.18, allocations: 0 / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00178/1.182, allocations: 0.7324 MB / 1.178 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.182, allocations: 8.031 kB / 1.178 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/1.183, allocations: 164.5 kB / 1.178 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/1.184, allocations: 340.5 kB / 1.178 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/1.184, allocations: 25.38 kB / 1.178 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/1.184, allocations: 32.38 kB / 1.178 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/1.185, allocations: 0.6419 MB / 1.179 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/1.185, allocations: 8 kB / 1.179 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/1.185, allocations: 19.98 kB / 1.179 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.923e-05/1.185, allocations: 40.62 kB / 1.179 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/1.186, allocations: 490.1 kB / 1.179 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004564/1.191, allocations: 3.429 MB / 1.183 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/1.192, allocations: 373 kB / 1.183 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/1.192, allocations: 177.6 kB / 1.183 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/1.192, allocations: 11.98 kB / 1.183 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/1.192, allocations: 34.56 kB / 1.183 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/1.192, allocations: 0 / 1.183 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.004729/1.197, allocations: 1.466 MB / 1.185 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/1.197, allocations: 81.11 kB / 1.185 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/1.197, allocations: 336.4 kB / 1.185 GB, free: 400 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/1.197, allocations: 29.7 kB / 1.185 GB, free: 364 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/1.197, allocations: 272 kB / 1.185 GB, free: 84 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.226e-05/1.198, allocations: 95.39 kB / 1.185 GB, free: 15.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/1.198, allocations: 102.2 kB / 1.185 GB, free: 15.88 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.198, allocations: 346.7 kB / 1.186 GB, free: 15.53 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/1.198, allocations: 187 kB / 1.186 GB, free: 15.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/1.199, allocations: 342.1 kB / 1.186 GB, free: 14.94 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/1.199, allocations: 0.544 MB / 1.187 GB, free: 14.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.199, allocations: 4 kB / 1.187 GB, free: 14.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002391/1.202, allocations: 0.9203 MB / 1.188 GB, free: 13.39 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.202, allocations: 11.94 kB / 1.188 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.202, allocations: 11.94 kB / 1.188 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/1.204, allocations: 0.4975 MB / 1.188 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/1.205, allocations: 95.86 kB / 1.188 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/1.211, allocations: 4.058 MB / 1.192 GB, free: 8.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/1.211, allocations: 47.84 kB / 1.192 GB, free: 8.383 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/1.211, allocations: 20 kB / 1.192 GB, free: 8.363 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00049/1.212, allocations: 309.1 kB / 1.193 GB, free: 8.059 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004152/1.212, allocations: 339.8 kB / 1.193 GB, free: 7.648 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006816/1.213, allocations: 0.5057 MB / 1.193 GB, free: 7.062 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.549e-06/1.213, allocations: 0 / 1.193 GB, free: 7.062 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001058/1.214, allocations: 0.5359 MB / 1.194 GB, free: 6.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.214, allocations: 11.28 kB / 1.194 GB, free: 6.512 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.214, allocations: 8 kB / 1.194 GB, free: 6.504 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/1.214, allocations: 15.94 kB / 1.194 GB, free: 6.488 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/1.215, allocations: 115.8 kB / 1.194 GB, free: 6.375 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/1.215, allocations: 11.94 kB / 1.194 GB, free: 6.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/1.215, allocations: 39.86 kB / 1.194 GB, free: 6.324 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/1.215, allocations: 24 kB / 1.194 GB, free: 6.301 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001897/1.215, allocations: 212.7 kB / 1.194 GB, free: 6.086 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.215, allocations: 39.84 kB / 1.194 GB, free: 6.047 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/1.217, allocations: 0.6656 MB / 1.195 GB, free: 5.359 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/1.217, allocations: 4 kB / 1.195 GB, free: 5.355 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.217, allocations: 0 / 1.195 GB, free: 5.355 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/1.217, allocations: 3.984 kB / 1.195 GB, free: 5.352 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/1.219, allocations: 0.6598 MB / 1.196 GB, free: 4.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.219, allocations: 4 kB / 1.196 GB, free: 4.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/1.219, allocations: 47.84 kB / 1.196 GB, free: 4.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/1.22, allocations: 405.3 kB / 1.196 GB, free: 4.176 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/1.22, allocations: 4 kB / 1.196 GB, free: 4.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004253/1.225, allocations: 3.766 MB / 1.2 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.225, allocations: 0 / 1.2 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/1.226, allocations: 0.8347 MB / 1.201 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/1.227, allocations: 148.8 kB / 1.201 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/1.227, allocations: 8 kB / 1.201 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/1.227, allocations: 39.94 kB / 1.201 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/1.227, allocations: 31.84 kB / 1.201 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/1.227, allocations: 4 kB / 1.201 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003242/1.228, allocations: 235 kB / 1.201 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.228, allocations: 0 / 1.201 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009759/1.229, allocations: 196 kB / 1.201 GB, free: 14.6 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002089/1.229, allocations: 111.2 kB / 1.201 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001978/1.231, allocations: 0.987 MB / 1.202 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.231, allocations: 4.688 kB / 1.202 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007757/1.232, allocations: 483.9 kB / 1.203 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/1.232, allocations: 75.86 kB / 1.203 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/1.234, allocations: 0.7526 MB / 1.204 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/1.234, allocations: 0.8392 MB / 1.204 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004192/1.235, allocations: 151.1 kB / 1.205 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/1.235, allocations: 35.42 kB / 1.205 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/1.235, allocations: 0 / 1.205 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of Templates: time 0.01479/1.25, allocations: 7.474 MB / 1.212 GB, free: 3.617 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches