Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007677/0.007677, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001201/0.001201, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 66.81 kB / 0.9508 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3681, allocations: 140.4 MB / 1.088 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.00613/0.3742, allocations: 4.169 MB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004671/0.3789, allocations: 2.358 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.3792, allocations: 11.94 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.3809, allocations: 0.5331 MB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007234/0.3816, allocations: 290.6 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009177/0.3825, allocations: 355.1 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005942/0.3831, allocations: 0.5607 MB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005608/0.3837, allocations: 367.8 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.384, allocations: 239.1 kB / 1.097 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.3845, allocations: 279 kB / 1.097 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.3846, allocations: 36 kB / 1.097 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006142/0.3852, allocations: 279.5 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.3854, allocations: 171.6 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.3857, allocations: 218.9 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008145/0.3865, allocations: 0.662 MB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3865, allocations: 0 / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3865, allocations: 4 kB / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.3866, allocations: 0 / 1.098 GB, free: 7.172 MB / 0.8575 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.001245/0.3878, allocations: 0.727 MB / 1.099 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3879, allocations: 12.03 kB / 1.099 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.389, allocations: 152.3 kB / 1.099 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.3895, allocations: 328.4 kB / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.3895, allocations: 33.36 kB / 1.099 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.3896, allocations: 40.31 kB / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.3906, allocations: 0.6418 MB / 1.1 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.3906, allocations: 3.938 kB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.3907, allocations: 19.98 kB / 1.1 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.224e-05/0.3907, allocations: 44.62 kB / 1.1 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007971/0.3915, allocations: 490.1 kB / 1.101 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.395, allocations: 3.42 MB / 1.104 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.3956, allocations: 374.3 kB / 1.104 GB, free: 480 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.3959, allocations: 181.6 kB / 1.104 GB, free: 292 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.3959, allocations: 0 / 1.104 GB, free: 292 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.396, allocations: 38.56 kB / 1.104 GB, free: 244 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.396, allocations: 0 / 1.104 GB, free: 244 kB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.004421/0.4004, allocations: 1.46 MB / 1.106 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.4005, allocations: 84.95 kB / 1.106 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.4009, allocations: 336.4 kB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.4009, allocations: 29.7 kB / 1.106 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.4011, allocations: 267.2 kB / 1.107 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/0.4012, allocations: 90.75 kB / 1.107 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.4013, allocations: 98.05 kB / 1.107 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.4015, allocations: 338.8 kB / 1.107 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.4018, allocations: 191 kB / 1.107 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.4022, allocations: 354 kB / 1.108 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.4029, allocations: 0.5397 MB / 1.108 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4029, allocations: 0 / 1.108 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002284/0.4052, allocations: 0.916 MB / 1.109 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4052, allocations: 8 kB / 1.109 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.4052, allocations: 8 kB / 1.109 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.4074, allocations: 0.5052 MB / 1.11 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.4079, allocations: 99.81 kB / 1.11 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005413/0.4133, allocations: 4.046 MB / 1.114 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.4138, allocations: 51.8 kB / 1.114 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.4138, allocations: 24 kB / 1.114 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000449/0.4143, allocations: 303.1 kB / 1.114 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004129/0.4147, allocations: 339.8 kB / 1.114 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006516/0.4154, allocations: 0.5072 MB / 1.115 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.4154, allocations: 0 / 1.115 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008654/0.4163, allocations: 0.5403 MB / 1.115 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4163, allocations: 13.69 kB / 1.115 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4163, allocations: 4 kB / 1.115 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.4163, allocations: 11.94 kB / 1.115 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.4167, allocations: 115.8 kB / 1.115 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.4168, allocations: 19.86 kB / 1.115 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.4172, allocations: 43.8 kB / 1.115 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.4172, allocations: 20 kB / 1.115 GB, free: 4.211 MB / 0.8731 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.000177/0.4174, allocations: 212.1 kB / 1.116 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.4175, allocations: 31.62 kB / 1.116 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.4191, allocations: 0.6656 MB / 1.116 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.4191, allocations: 4 kB / 1.116 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4192, allocations: 0 / 1.116 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4192, allocations: 4.141 kB / 1.116 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009422/0.4201, allocations: 0.6676 MB / 1.117 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4201, allocations: 3.984 kB / 1.117 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.4203, allocations: 43.97 kB / 1.117 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.4218, allocations: 397.3 kB / 1.117 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.4218, allocations: 15.94 kB / 1.117 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004045/0.4259, allocations: 3.757 MB / 1.121 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.4259, allocations: 3.984 kB / 1.121 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.4275, allocations: 0.8226 MB / 1.122 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.4277, allocations: 148.6 kB / 1.122 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.4277, allocations: 8 kB / 1.122 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.4281, allocations: 35.94 kB / 1.122 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.4281, allocations: 23.97 kB / 1.122 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.4282, allocations: 12 kB / 1.122 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002711/0.4284, allocations: 235 kB / 1.122 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4285, allocations: 0 / 1.122 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008747/0.4293, allocations: 196 kB / 1.123 GB, free: 12.53 MB / 0.8887 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.0001686/0.4295, allocations: 111.2 kB / 1.123 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.4312, allocations: 0.9844 MB / 1.124 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4312, allocations: 4.062 kB / 1.124 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006965/0.4319, allocations: 486.2 kB / 1.124 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.4325, allocations: 86.17 kB / 1.124 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4337, allocations: 0.7341 MB / 1.125 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.4342, allocations: 0.847 MB / 1.126 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003581/0.4345, allocations: 147.2 kB / 1.126 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.4346, allocations: 23.44 kB / 1.126 GB, free: 9 MB / 0.8887 GB Notification: Performance of SimCode: time 3.41e-07/0.4346, allocations: 0 / 1.126 GB, free: 9 MB / 0.8887 GB Notification: Performance of Templates: time 0.0127/0.4473, allocations: 7.463 MB / 1.133 GB, free: 1.57 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches