Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.001842/0.001842, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.361/1.361, 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.0-master/package.mo): time 2.702/2.702, allocations: 461.7 MB / 0.7353 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.84 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7933/0.7947, allocations: 157.4 MB / 1.208 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004559/0.7993, allocations: 2.625 MB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.8022, allocations: 1.488 MB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.8024, allocations: 8 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009865/0.8034, allocations: 226.8 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006093/0.804, allocations: 191.2 kB / 1.213 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.8045, allocations: 151.6 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.8048, allocations: 231.3 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.8052, allocations: 162.5 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.8054, allocations: 99.66 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.8057, allocations: 111.6 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.8057, allocations: 12 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.8061, allocations: 223.5 kB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.8062, allocations: 79.8 kB / 1.214 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.8063, allocations: 91.53 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.8068, allocations: 324.9 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8068, allocations: 0 / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.196e-06/0.8068, allocations: 0 / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.8069, allocations: 3.938 kB / 1.214 GB, free: 7.754 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007744/0.8076, allocations: 491.1 kB / 1.215 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.8077, allocations: 8.031 kB / 1.215 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006172/0.8083, allocations: 80.66 kB / 1.215 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.8086, allocations: 240 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.8087, allocations: 8.703 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.8087, allocations: 20.36 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.8092, allocations: 320.3 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.8092, allocations: 3.938 kB / 1.215 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.8093, allocations: 11.98 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.8093, allocations: 24.27 kB / 1.215 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.8097, allocations: 252.6 kB / 1.215 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.8115, allocations: 1.626 MB / 1.217 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.8122, allocations: 411.2 kB / 1.217 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.8123, allocations: 81.67 kB / 1.217 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.8124, allocations: 97.08 kB / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.8125, allocations: 34.56 kB / 1.218 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.8125, allocations: 0 / 1.218 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.000684/0.8132, allocations: 308.7 kB / 1.218 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.8132, allocations: 85.05 kB / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.8134, allocations: 168 kB / 1.218 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.8134, allocations: 25.7 kB / 1.218 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.8135, allocations: 155.7 kB / 1.218 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.8136, allocations: 47.3 kB / 1.218 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.8137, allocations: 53.89 kB / 1.218 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.8138, allocations: 322.8 kB / 1.219 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.8139, allocations: 80.75 kB / 1.219 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.8141, allocations: 159.1 kB / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.8145, allocations: 249.2 kB / 1.219 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8145, allocations: 0 / 1.219 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000419/0.8149, allocations: 273.5 kB / 1.219 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8149, allocations: 10.33 kB / 1.219 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.8149, allocations: 4 kB / 1.219 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.815, allocations: 7.938 kB / 1.219 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.8152, allocations: 51.91 kB / 1.22 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.8152, allocations: 3.938 kB / 1.22 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.8154, allocations: 23.97 kB / 1.22 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.8154, allocations: 16 kB / 1.22 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001685/0.8156, allocations: 172.1 kB / 1.22 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001491/0.8157, allocations: 150.6 kB / 1.22 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002677/0.816, allocations: 236.5 kB / 1.22 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.816, allocations: 4 kB / 1.22 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000366/0.8164, allocations: 249.2 kB / 1.22 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.8164, allocations: 8 kB / 1.22 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-06/0.8164, allocations: 0 / 1.22 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.8164, allocations: 4.188 kB / 1.22 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.8166, allocations: 52.25 kB / 1.22 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.8166, allocations: 20.02 kB / 1.22 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.8168, allocations: 8 kB / 1.22 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.8168, allocations: 11.98 kB / 1.22 GB, free: 0.6211 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.8169, allocations: 200.1 kB / 1.221 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.817, allocations: 11.81 kB / 1.221 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.8173, allocations: 204.2 kB / 1.221 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.8174, allocations: 3.938 kB / 1.221 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8174, allocations: 0 / 1.221 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.8175, allocations: 104.9 kB / 1.221 GB, free: 68 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.8175, allocations: 4 kB / 1.221 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.8177, allocations: 19.91 kB / 1.221 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.8177, allocations: 7.984 kB / 1.221 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003805/0.8181, allocations: 348.2 kB / 1.221 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003487/0.8184, allocations: 433.7 kB / 1.222 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.834e-05/0.8185, allocations: 67.95 kB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001309/0.8187, allocations: 141 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of Backend: time 3.5e-07/0.8187, allocations: 3.938 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.8197, allocations: 436.3 kB / 1.222 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008986/0.8207, allocations: 0.7806 MB / 1.223 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of Templates: time 0.00706/0.8277, allocations: 3.654 MB / 1.227 GB, free: 10.14 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches