Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 110.3 kB / 16.42 MB, free: 6.023 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.001198/0.001198, allocations: 190 kB / 17.35 MB, free: 5.633 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.388/1.388, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 64.11 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006666/1.049, allocations: 4.657 MB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003836/1.053, allocations: 2.361 MB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/1.053, allocations: 11.94 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/1.054, allocations: 0.5253 MB / 1.216 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006368/1.055, allocations: 294.6 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/1.056, allocations: 355.1 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005668/1.056, allocations: 0.5568 MB / 1.217 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/1.057, allocations: 371.6 kB / 1.217 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/1.057, allocations: 231.2 kB / 1.218 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00041/1.058, allocations: 279.1 kB / 1.218 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/1.058, allocations: 36 kB / 1.218 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004834/1.058, allocations: 287.5 kB / 1.218 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/1.058, allocations: 179.6 kB / 1.218 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002075/1.059, allocations: 218.9 kB / 1.218 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007058/1.059, allocations: 0.6599 MB / 1.219 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.059, allocations: 0 / 1.219 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/1.059, allocations: 7.938 kB / 1.219 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.255e-06/1.059, allocations: 0 / 1.219 GB, free: 2.645 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.001155/1.061, allocations: 0.7136 MB / 1.22 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.061, allocations: 12.03 kB / 1.22 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/1.062, allocations: 156.2 kB / 1.22 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/1.062, allocations: 328.5 kB / 1.22 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/1.062, allocations: 33.36 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/1.062, allocations: 36.38 kB / 1.22 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009295/1.063, allocations: 0.638 MB / 1.221 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/1.063, allocations: 3.906 kB / 1.221 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/1.063, allocations: 12 kB / 1.221 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.876e-05/1.064, allocations: 44.62 kB / 1.221 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008117/1.064, allocations: 498.1 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/1.068, allocations: 3.428 MB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/1.069, allocations: 376.9 kB / 1.225 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/1.069, allocations: 173.6 kB / 1.225 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/1.069, allocations: 7.984 kB / 1.225 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/1.069, allocations: 34.56 kB / 1.225 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/1.069, allocations: 0 / 1.225 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26): time 0.004481/1.073, allocations: 1.451 MB / 1.227 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.074, allocations: 85.03 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/1.074, allocations: 336.4 kB / 1.227 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/1.074, allocations: 37.64 kB / 1.227 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/1.074, allocations: 255.3 kB / 1.228 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/1.074, allocations: 98.64 kB / 1.228 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.074, allocations: 90.14 kB / 1.228 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.075, allocations: 338.8 kB / 1.228 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/1.075, allocations: 195 kB / 1.228 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/1.075, allocations: 352.2 kB / 1.229 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006971/1.076, allocations: 0.5436 MB / 1.229 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.076, allocations: 0 / 1.229 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002339/1.078, allocations: 0.9202 MB / 1.23 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.078, allocations: 8 kB / 1.23 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.078, allocations: 4 kB / 1.23 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/1.081, allocations: 0.501 MB / 1.231 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/1.081, allocations: 95.81 kB / 1.231 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005523/1.087, allocations: 4.055 MB / 1.235 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/1.087, allocations: 51.8 kB / 1.235 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/1.087, allocations: 23.94 kB / 1.235 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000465/1.088, allocations: 309.2 kB / 1.235 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003935/1.088, allocations: 331.8 kB / 1.235 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006359/1.089, allocations: 0.5075 MB / 1.236 GB, free: 488 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-06/1.089, allocations: 8 kB / 1.236 GB, free: 480 kB / 0.9512 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009031/1.09, allocations: 0.54 MB / 1.236 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.09, allocations: 8 kB / 1.236 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.09, allocations: 4 kB / 1.236 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/1.09, allocations: 8 kB / 1.236 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/1.09, allocations: 119.7 kB / 1.236 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.09, allocations: 15.92 kB / 1.236 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/1.091, allocations: 48.19 kB / 1.236 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/1.091, allocations: 16 kB / 1.236 GB, free: 15.71 MB / 0.9669 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.0001552/1.091, allocations: 204.2 kB / 1.237 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.719e-05/1.091, allocations: 31.62 kB / 1.237 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/1.093, allocations: 0.6734 MB / 1.237 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.093, allocations: 3.938 kB / 1.237 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.093, allocations: 4 kB / 1.237 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/1.093, allocations: 148.5 kB / 1.238 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/1.093, allocations: 4 kB / 1.238 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/1.093, allocations: 35.94 kB / 1.238 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/1.093, allocations: 27.95 kB / 1.238 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001263/1.095, allocations: 0.6687 MB / 1.238 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008275/1.095, allocations: 0.7317 MB / 1.239 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002128/1.096, allocations: 147.9 kB / 1.239 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003397/1.096, allocations: 235 kB / 1.239 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of Backend: time 3.31e-07/1.096, allocations: 0 / 1.239 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002772/1.099, allocations: 1.049 MB / 1.24 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001534/1.1, allocations: 1.215 MB / 1.242 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of Templates: time 0.01662/1.117, allocations: 9.946 MB / 1.251 GB, free: 500 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches