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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 106.6 kB / 16.4 MB, free: 6.449 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 194.8 kB / 19.36 MB, free: 3.73 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 437 MB / 0.717 GB, free: 4.121 MB / 0.5762 GB [Timeout remaining time 87] 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=500,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=500,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 71.89 kB / 1.027 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.149, allocations: 151.6 MB / 1.175 GB, free: 18 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006347/1.155, allocations: 4.161 MB / 1.179 GB, free: 15.2 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004882/1.16, allocations: 2.356 MB / 1.181 GB, free: 13.62 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007684/1.161, allocations: 10.28 kB / 1.182 GB, free: 13.61 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/1.163, allocations: 0.5366 MB / 1.182 GB, free: 13.29 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/1.165, allocations: 293.8 kB / 1.182 GB, free: 13.13 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/1.167, allocations: 351.4 kB / 1.183 GB, free: 12.96 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001672/1.169, allocations: 0.5681 MB / 1.183 GB, free: 12.71 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008428/1.17, allocations: 374.2 kB / 1.184 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005258/1.17, allocations: 232.2 kB / 1.184 GB, free: 12.46 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006507/1.171, allocations: 274.3 kB / 1.184 GB, free: 12.35 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.968e-05/1.171, allocations: 35.31 kB / 1.184 GB, free: 12.35 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008703/1.172, allocations: 281.5 kB / 1.184 GB, free: 12.26 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/1.172, allocations: 175.7 kB / 1.185 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002478/1.172, allocations: 216.4 kB / 1.185 GB, free: 12.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/1.173, allocations: 0.6636 MB / 1.185 GB, free: 11.84 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.173, allocations: 0 / 1.185 GB, free: 11.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.715e-06/1.173, allocations: 5.375 kB / 1.185 GB, free: 11.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.858e-06/1.173, allocations: 0 / 1.185 GB, free: 11.84 MB / 0.92 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.001407/1.175, allocations: 0.7355 MB / 1.186 GB, free: 11.26 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.175, allocations: 9.5 kB / 1.186 GB, free: 11.26 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/1.176, allocations: 167.2 kB / 1.186 GB, free: 11.22 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/1.177, allocations: 326.8 kB / 1.187 GB, free: 10.95 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/1.177, allocations: 23.41 kB / 1.187 GB, free: 10.95 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/1.177, allocations: 39.73 kB / 1.187 GB, free: 10.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/1.178, allocations: 0.6411 MB / 1.187 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/1.178, allocations: 7.5 kB / 1.187 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/1.178, allocations: 12 kB / 1.187 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/1.178, allocations: 42.02 kB / 1.187 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009579/1.179, allocations: 493.9 kB / 1.188 GB, free: 10.4 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/1.183, allocations: 3.435 MB / 1.191 GB, free: 7.492 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/1.184, allocations: 373.3 kB / 1.191 GB, free: 7.332 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/1.184, allocations: 172.8 kB / 1.192 GB, free: 7.258 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/1.184, allocations: 3.953 kB / 1.192 GB, free: 7.258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.184, allocations: 37.64 kB / 1.192 GB, free: 7.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 2.755e-06/1.184, allocations: 0 / 1.192 GB, free: 7.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.004824/1.189, allocations: 1.464 MB / 1.193 GB, free: 6.461 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/1.189, allocations: 79.67 kB / 1.193 GB, free: 6.367 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005107/1.189, allocations: 343.8 kB / 1.194 GB, free: 6.145 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/1.189, allocations: 30.77 kB / 1.194 GB, free: 6.109 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/1.19, allocations: 271.3 kB / 1.194 GB, free: 5.859 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.252e-05/1.19, allocations: 104.5 kB / 1.194 GB, free: 5.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/1.19, allocations: 92.72 kB / 1.194 GB, free: 5.707 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.567e-05/1.19, allocations: 338.9 kB / 1.194 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/1.19, allocations: 190.4 kB / 1.195 GB, free: 5.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/1.191, allocations: 345 kB / 1.195 GB, free: 4.977 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/1.191, allocations: 0.5504 MB / 1.195 GB, free: 4.551 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.191, allocations: 1.281 kB / 1.195 GB, free: 4.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002452/1.194, allocations: 0.9196 MB / 1.196 GB, free: 4.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.194, allocations: 11 kB / 1.196 GB, free: 4.066 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.194, allocations: 6.375 kB / 1.196 GB, free: 4.066 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/1.196, allocations: 0.5043 MB / 1.197 GB, free: 3.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/1.197, allocations: 95.28 kB / 1.197 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005373/1.202, allocations: 4.062 MB / 1.201 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/1.203, allocations: 44.47 kB / 1.201 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/1.203, allocations: 25.2 kB / 1.201 GB, free: 212 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005346/1.203, allocations: 306.6 kB / 1.201 GB, free: 12 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005281/1.204, allocations: 335.5 kB / 1.202 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008025/1.205, allocations: 0.5055 MB / 1.202 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/1.205, allocations: 1.406 kB / 1.202 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001063/1.206, allocations: 0.5418 MB / 1.203 GB, free: 15 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.206, allocations: 11.81 kB / 1.203 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.206, allocations: 5.969 kB / 1.203 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.206, allocations: 12.75 kB / 1.203 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/1.206, allocations: 114.5 kB / 1.203 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/1.206, allocations: 15.7 kB / 1.203 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/1.207, allocations: 41.73 kB / 1.203 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/1.207, allocations: 26.61 kB / 1.203 GB, free: 14.93 MB / 0.9356 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.0002232/1.207, allocations: 209.9 kB / 1.203 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.207, allocations: 32.5 kB / 1.203 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/1.209, allocations: 0.6712 MB / 1.204 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.209, allocations: 3.25 kB / 1.204 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.209, allocations: 1.281 kB / 1.204 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/1.209, allocations: 5.25 kB / 1.204 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/1.21, allocations: 0.6574 MB / 1.204 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.21, allocations: 1.5 kB / 1.204 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/1.211, allocations: 47.84 kB / 1.204 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/1.212, allocations: 397.5 kB / 1.205 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/1.212, allocations: 10.38 kB / 1.205 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005208/1.218, allocations: 3.767 MB / 1.208 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.218, allocations: 3.938 kB / 1.208 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/1.22, allocations: 0.838 MB / 1.209 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/1.22, allocations: 151.3 kB / 1.209 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/1.22, allocations: 7.594 kB / 1.209 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/1.22, allocations: 37.94 kB / 1.209 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/1.22, allocations: 18.69 kB / 1.209 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/1.22, allocations: 11.25 kB / 1.209 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003803/1.221, allocations: 234.3 kB / 1.21 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.221, allocations: 0 / 1.21 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001155/1.222, allocations: 203.2 kB / 1.21 GB, free: 9.23 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.0002342/1.222, allocations: 110.4 kB / 1.21 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002123/1.224, allocations: 0.978 MB / 1.211 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.224, allocations: 5.406 kB / 1.211 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008292/1.225, allocations: 486.1 kB / 1.211 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/1.226, allocations: 78.05 kB / 1.211 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/1.227, allocations: 0.7412 MB / 1.212 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/1.228, allocations: 0.8469 MB / 1.213 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000448/1.228, allocations: 148.4 kB / 1.213 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/1.229, allocations: 26.03 kB / 1.213 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/1.229, allocations: 1.25 kB / 1.213 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of Templates: time 0.02055/1.249, allocations: 7.481 MB / 1.22 GB, free: 3.09 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches