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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00143/0.00143, allocations: 105.7 kB / 16.41 MB, free: 6.461 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.001512/0.001512, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9251/0.9266, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006941/0.9336, allocations: 4.162 MB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004416/0.9381, allocations: 2.349 MB / 1.215 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.9385, allocations: 8 kB / 1.215 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.9403, allocations: 0.5479 MB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009488/0.9413, allocations: 294.6 kB / 1.216 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.9424, allocations: 359.1 kB / 1.216 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009399/0.9433, allocations: 0.5568 MB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006757/0.944, allocations: 363.6 kB / 1.217 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004675/0.9445, allocations: 235.2 kB / 1.217 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000649/0.9452, allocations: 283 kB / 1.217 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.314e-05/0.9453, allocations: 32 kB / 1.217 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006404/0.9459, allocations: 287.5 kB / 1.218 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.9462, allocations: 175.6 kB / 1.218 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.9465, allocations: 214.9 kB / 1.218 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.9475, allocations: 0.66 MB / 1.219 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9475, allocations: 0 / 1.219 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9475, allocations: 0 / 1.219 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.03e-05/0.9476, allocations: 3.984 kB / 1.219 GB, free: 3.152 MB / 0.9356 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.001509/0.9491, allocations: 0.7214 MB / 1.219 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9491, allocations: 8.031 kB / 1.219 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.9504, allocations: 156.2 kB / 1.22 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.951, allocations: 336.4 kB / 1.22 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.951, allocations: 29.38 kB / 1.22 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.9511, allocations: 40.36 kB / 1.22 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.9521, allocations: 0.6302 MB / 1.221 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.9522, allocations: 3.938 kB / 1.221 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.9522, allocations: 20 kB / 1.221 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.873e-05/0.9523, allocations: 44.62 kB / 1.221 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008481/0.9532, allocations: 490.1 kB / 1.221 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.9569, allocations: 3.424 MB / 1.224 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.9576, allocations: 376.9 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.9579, allocations: 173.6 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.9579, allocations: 4 kB / 1.225 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.9579, allocations: 42.5 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 2.304e-06/0.9579, allocations: 0 / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26): time 0.004702/0.9627, allocations: 1.455 MB / 1.226 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.9627, allocations: 81.11 kB / 1.226 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.9632, allocations: 340.4 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.9632, allocations: 29.7 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.9634, allocations: 259.3 kB / 1.227 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.767e-05/0.9635, allocations: 86.75 kB / 1.227 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.9637, allocations: 106 kB / 1.227 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.9638, allocations: 342.8 kB / 1.228 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.9642, allocations: 191 kB / 1.228 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.9646, allocations: 352.1 kB / 1.228 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007365/0.9654, allocations: 0.5436 MB / 1.229 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.9654, allocations: 0 / 1.229 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002468/0.9679, allocations: 0.9198 MB / 1.23 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.9679, allocations: 8 kB / 1.23 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.9679, allocations: 4 kB / 1.23 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/0.9702, allocations: 0.4974 MB / 1.23 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.9707, allocations: 103.8 kB / 1.23 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/0.9766, allocations: 4.058 MB / 1.234 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/0.9771, allocations: 47.88 kB / 1.234 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.9772, allocations: 27.97 kB / 1.234 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004759/0.9776, allocations: 305.1 kB / 1.234 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003998/0.9781, allocations: 335.8 kB / 1.235 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006441/0.9787, allocations: 0.5113 MB / 1.235 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.69e-06/0.9787, allocations: 4 kB / 1.235 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009463/0.9797, allocations: 0.5358 MB / 1.236 GB, free: 424 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.9797, allocations: 8 kB / 1.236 GB, free: 416 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.9797, allocations: 11.94 kB / 1.236 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.9797, allocations: 12.66 kB / 1.236 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.9802, allocations: 111.9 kB / 1.236 GB, free: 280 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.9802, allocations: 11.94 kB / 1.236 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.9806, allocations: 43.8 kB / 1.236 GB, free: 224 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.9807, allocations: 20 kB / 1.236 GB, free: 204 kB / 0.9512 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.0002029/0.9809, allocations: 204.2 kB / 1.236 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.981, allocations: 35.62 kB / 1.236 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.9827, allocations: 0.6743 MB / 1.237 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9827, allocations: 0 / 1.237 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9827, allocations: 8 kB / 1.237 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.9827, allocations: 0 / 1.237 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009592/0.9837, allocations: 0.6673 MB / 1.238 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.9837, allocations: 4 kB / 1.238 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.9839, allocations: 47.91 kB / 1.238 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.9854, allocations: 401.2 kB / 1.238 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.9855, allocations: 4 kB / 1.238 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/0.9896, allocations: 3.746 MB / 1.242 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.9897, allocations: 7.969 kB / 1.242 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.9913, allocations: 0.8254 MB / 1.242 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.9915, allocations: 140.6 kB / 1.243 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.9916, allocations: 15.91 kB / 1.243 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.992, allocations: 43.94 kB / 1.243 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.9921, allocations: 23.91 kB / 1.243 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.9921, allocations: 8 kB / 1.243 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002974/0.9924, allocations: 239 kB / 1.243 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9924, allocations: 0 / 1.243 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009262/0.9934, allocations: 196 kB / 1.243 GB, free: 8.523 MB / 0.9669 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.0001852/0.9936, allocations: 115.2 kB / 1.243 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.9954, allocations: 0.9761 MB / 1.244 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.9954, allocations: 0 / 1.244 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007284/0.9962, allocations: 493.6 kB / 1.245 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.9968, allocations: 68.39 kB / 1.245 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.9982, allocations: 0.7983 MB / 1.245 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.9987, allocations: 0.8509 MB / 1.246 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.9988, allocations: 35.44 kB / 1.246 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.9988, allocations: 0 / 1.246 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of Templates: time 0.01253/1.011, allocations: 8.455 MB / 1.255 GB, free: 12.63 MB / 0.9825 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/jenkins1/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