Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.007325/0.007325, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001623/0.001623, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7453 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3646, allocations: 159.9 MB / 1.226 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.00651/0.3712, allocations: 4.174 MB / 1.23 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004014/0.3753, allocations: 2.361 MB / 1.232 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.3756, allocations: 7.938 kB / 1.232 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.3772, allocations: 0.5516 MB / 1.233 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.3779, allocations: 282.7 kB / 1.233 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009192/0.3789, allocations: 347.1 kB / 1.233 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007837/0.3796, allocations: 0.5646 MB / 1.234 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005765/0.3802, allocations: 363.8 kB / 1.234 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.3806, allocations: 235.1 kB / 1.234 GB, free: 296 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/0.3812, allocations: 283 kB / 1.235 GB, free: 12 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.922e-05/0.3813, allocations: 32.05 kB / 1.235 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.3819, allocations: 295.4 kB / 1.235 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.3821, allocations: 175.6 kB / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.3823, allocations: 218.9 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008424/0.3832, allocations: 0.6577 MB / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3832, allocations: 0 / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3832, allocations: 0 / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.152e-05/0.3832, allocations: 0 / 1.236 GB, free: 14.64 MB / 0.9981 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.001415/0.3846, allocations: 0.7323 MB / 1.237 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3847, allocations: 8.031 kB / 1.237 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.386, allocations: 160.5 kB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.3864, allocations: 340.5 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.3865, allocations: 29.36 kB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-05/0.3866, allocations: 36.38 kB / 1.237 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.3875, allocations: 0.6379 MB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.3876, allocations: 4 kB / 1.238 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.3876, allocations: 19.98 kB / 1.238 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.848e-05/0.3877, allocations: 40.62 kB / 1.238 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.3886, allocations: 498.1 kB / 1.238 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003548/0.3921, allocations: 3.417 MB / 1.242 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.3928, allocations: 380.9 kB / 1.242 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.3931, allocations: 173.6 kB / 1.242 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.3931, allocations: 7.984 kB / 1.242 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.3932, allocations: 42.5 kB / 1.242 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.324e-06/0.3932, allocations: 0 / 1.242 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.004438/0.3976, allocations: 1.463 MB / 1.244 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.3977, allocations: 85.11 kB / 1.244 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.3981, allocations: 340.4 kB / 1.244 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3981, allocations: 29.7 kB / 1.244 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.3983, allocations: 260.1 kB / 1.244 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-05/0.3984, allocations: 103.1 kB / 1.244 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.3986, allocations: 94.2 kB / 1.245 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3987, allocations: 342.8 kB / 1.245 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.399, allocations: 191 kB / 1.245 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.3995, allocations: 346 kB / 1.245 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/0.4002, allocations: 0.5473 MB / 1.246 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.4002, allocations: 4 kB / 1.246 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00231/0.4025, allocations: 0.9163 MB / 1.247 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4026, allocations: 8 kB / 1.247 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4026, allocations: 8 kB / 1.247 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/0.4048, allocations: 0.5049 MB / 1.247 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.4052, allocations: 91.88 kB / 1.247 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6663/1.071, allocations: 4.05 MB / 1.251 GB, free: 24.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/1.072, allocations: 44.16 kB / 1.251 GB, free: 24.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/1.072, allocations: 28.58 kB / 1.251 GB, free: 24.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004614/1.073, allocations: 305.8 kB / 1.252 GB, free: 24.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004022/1.073, allocations: 334.8 kB / 1.252 GB, free: 24.17 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006066/1.074, allocations: 0.5134 MB / 1.253 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/1.074, allocations: 2.156 kB / 1.253 GB, free: 23.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009045/1.075, allocations: 0.5386 MB / 1.253 GB, free: 23.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.075, allocations: 11.27 kB / 1.253 GB, free: 23.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.075, allocations: 5.906 kB / 1.253 GB, free: 23.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/1.075, allocations: 8.5 kB / 1.253 GB, free: 23.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/1.075, allocations: 112.4 kB / 1.253 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.075, allocations: 20.88 kB / 1.253 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/1.075, allocations: 42.77 kB / 1.253 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/1.076, allocations: 26.97 kB / 1.253 GB, free: 23.89 MB / 0.9981 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.0001242/1.076, allocations: 210.6 kB / 1.253 GB, free: 23.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/1.076, allocations: 32.16 kB / 1.253 GB, free: 23.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/1.077, allocations: 0.6733 MB / 1.254 GB, free: 23.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.077, allocations: 3.219 kB / 1.254 GB, free: 23.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/1.077, allocations: 4.906 kB / 1.254 GB, free: 23.63 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/1.077, allocations: 3.125 kB / 1.254 GB, free: 23.63 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008339/1.078, allocations: 0.6612 MB / 1.255 GB, free: 23.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.078, allocations: 2.594 kB / 1.255 GB, free: 23.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/1.079, allocations: 49.03 kB / 1.255 GB, free: 23.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/1.08, allocations: 401 kB / 1.255 GB, free: 23.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/1.08, allocations: 6.406 kB / 1.255 GB, free: 23.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/1.083, allocations: 3.767 MB / 1.259 GB, free: 20.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.083, allocations: 2.25 kB / 1.259 GB, free: 20.58 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/1.085, allocations: 0.8224 MB / 1.26 GB, free: 20.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/1.085, allocations: 151.9 kB / 1.26 GB, free: 20.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/1.085, allocations: 10.53 kB / 1.26 GB, free: 20.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/1.086, allocations: 38.22 kB / 1.26 GB, free: 20.19 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/1.086, allocations: 20.06 kB / 1.26 GB, free: 20.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/1.086, allocations: 7.609 kB / 1.26 GB, free: 20.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002668/1.086, allocations: 237.2 kB / 1.26 GB, free: 20.11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.086, allocations: 1.375 kB / 1.26 GB, free: 20.11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008402/1.087, allocations: 197.5 kB / 1.26 GB, free: 20.11 MB / 0.9981 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.0001436/1.087, allocations: 117.3 kB / 1.26 GB, free: 20.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001591/1.089, allocations: 0.9826 MB / 1.261 GB, free: 19.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.089, allocations: 1.125 kB / 1.261 GB, free: 19.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007756/1.089, allocations: 492.3 kB / 1.262 GB, free: 19.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/1.09, allocations: 82.11 kB / 1.262 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/1.091, allocations: 0.7509 MB / 1.263 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/1.092, allocations: 0.8466 MB / 1.264 GB, free: 18.47 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004512/1.092, allocations: 140.4 kB / 1.264 GB, free: 18.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/1.092, allocations: 26.86 kB / 1.264 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.092, allocations: 4 kB / 1.264 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of Templates: time 0.0149/1.107, allocations: 7.448 MB / 1.271 GB, free: 18.07 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches