Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.002104/0.002104, allocations: 112 kB / 16.42 MB, free: 6.5 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.002571/0.002572, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.435/1.435, 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 9.1.3-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001478, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.8735, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006065/0.8796, allocations: 4.652 MB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003972/0.8836, allocations: 2.365 MB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.8839, allocations: 7.656 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.8854, allocations: 0.5298 MB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007393/0.8861, allocations: 299.9 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009785/0.8871, allocations: 349.3 kB / 1.097 GB, free: 188 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007483/0.8879, allocations: 0.5584 MB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006279/0.8885, allocations: 370.4 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003673/0.8889, allocations: 237.6 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005641/0.8894, allocations: 274.2 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/0.8895, allocations: 35.44 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006167/0.8902, allocations: 290.1 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.8904, allocations: 172.3 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000262/0.8907, allocations: 219.3 kB / 1.099 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.8917, allocations: 0.6591 MB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8918, allocations: 5.219 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8918, allocations: 0 / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.8918, allocations: 0 / 1.099 GB, free: 15.07 MB / 0.8731 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.001318/0.8931, allocations: 0.7141 MB / 1.1 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.8932, allocations: 8.219 kB / 1.1 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.8945, allocations: 170.4 kB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.895, allocations: 326.8 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.8951, allocations: 31.98 kB / 1.101 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/0.8952, allocations: 31.62 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.8963, allocations: 0.6425 MB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.8963, allocations: 5.156 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.8964, allocations: 21.45 kB / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-05/0.8965, allocations: 41.05 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009573/0.8975, allocations: 486.6 kB / 1.102 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/0.9016, allocations: 3.423 MB / 1.105 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007334/0.9024, allocations: 372.7 kB / 1.105 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.9027, allocations: 175.6 kB / 1.106 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.9027, allocations: 11.27 kB / 1.106 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.9027, allocations: 33.94 kB / 1.106 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 2.274e-06/0.9027, allocations: 3.938 kB / 1.106 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.004942/0.9077, allocations: 1.456 MB / 1.107 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.9077, allocations: 84.03 kB / 1.107 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005097/0.9083, allocations: 333.3 kB / 1.107 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.9083, allocations: 30.83 kB / 1.107 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.9085, allocations: 263.8 kB / 1.108 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.679e-05/0.9086, allocations: 92.06 kB / 1.108 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.9088, allocations: 99.48 kB / 1.108 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.9089, allocations: 339.7 kB / 1.108 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.9093, allocations: 189.2 kB / 1.108 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.9098, allocations: 348.8 kB / 1.109 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008602/0.9107, allocations: 0.5474 MB / 1.109 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.9107, allocations: 1.938 kB / 1.109 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00271/0.9134, allocations: 0.9215 MB / 1.11 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.9135, allocations: 7.641 kB / 1.11 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.9135, allocations: 6.562 kB / 1.11 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002421/0.9159, allocations: 0.5006 MB / 1.111 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.9164, allocations: 100.7 kB / 1.111 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006655/0.9231, allocations: 4.061 MB / 1.115 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/0.9237, allocations: 42.67 kB / 1.115 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.9238, allocations: 24.39 kB / 1.115 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000587/0.9244, allocations: 306.3 kB / 1.115 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004788/0.9249, allocations: 345 kB / 1.115 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007808/0.9256, allocations: 0.5067 MB / 1.116 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.428e-06/0.9257, allocations: 1.281 kB / 1.116 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001023/0.9267, allocations: 0.5374 MB / 1.116 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.9267, allocations: 8.031 kB / 1.116 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.9267, allocations: 5.531 kB / 1.116 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.9267, allocations: 9.578 kB / 1.116 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.9272, allocations: 116.8 kB / 1.117 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.9272, allocations: 17.11 kB / 1.117 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.9276, allocations: 42.38 kB / 1.117 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.9277, allocations: 23.83 kB / 1.117 GB, free: 3.652 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.0002023/0.9279, allocations: 212.4 kB / 1.117 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/0.928, allocations: 32.94 kB / 1.117 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.9299, allocations: 0.6632 MB / 1.118 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.9299, allocations: 7.031 kB / 1.118 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9299, allocations: 5.281 kB / 1.118 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.9302, allocations: 141.3 kB / 1.118 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.509e-05/0.9302, allocations: 7.203 kB / 1.118 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.9306, allocations: 38.06 kB / 1.118 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.9307, allocations: 28.98 kB / 1.118 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001323/0.932, allocations: 0.67 MB / 1.118 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008798/0.9329, allocations: 0.7376 MB / 1.119 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002445/0.9332, allocations: 153.9 kB / 1.119 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003541/0.9335, allocations: 235.1 kB / 1.12 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of Backend: time 3.21e-07/0.9335, allocations: 0 / 1.12 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002851/0.9364, allocations: 1.056 MB / 1.121 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001634/0.938, allocations: 1.202 MB / 1.122 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of Templates: time 0.01995/0.958, allocations: 9.752 MB / 1.131 GB, free: 40 kB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches