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.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.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.001378/0.001378, allocations: 103.8 kB / 16.41 MB, free: 6.508 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.001277/0.001277, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.49/1.49, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.891/2.891, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 71.84 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7817/0.7831, allocations: 159.1 MB / 1.221 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004669/0.7878, allocations: 2.63 MB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.7904, allocations: 1.488 MB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.7906, allocations: 7.938 kB / 1.225 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008576/0.7915, allocations: 227.1 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.792, allocations: 187.2 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.7924, allocations: 151.5 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.7928, allocations: 235.3 kB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.7932, allocations: 162.5 kB / 1.226 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.7934, allocations: 107.6 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.7937, allocations: 107.6 kB / 1.226 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.7937, allocations: 12 kB / 1.226 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004039/0.7942, allocations: 223.5 kB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.7943, allocations: 79.84 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.7944, allocations: 83.55 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.7948, allocations: 324.7 kB / 1.227 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7948, allocations: 0 / 1.227 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7948, allocations: 3.938 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.7949, allocations: 8 kB / 1.227 GB, free: 12.39 MB / 0.9512 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.0007165/0.7956, allocations: 487.1 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.7956, allocations: 12.62 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005877/0.7962, allocations: 76.56 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.7965, allocations: 244 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.7965, allocations: 12.7 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.7966, allocations: 12.38 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.7971, allocations: 328.3 kB / 1.228 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7971, allocations: 0 / 1.228 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.7971, allocations: 4 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-05/0.7972, allocations: 28.27 kB / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.7976, allocations: 256.6 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.7992, allocations: 1.626 MB / 1.23 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006544/0.7999, allocations: 419.2 kB / 1.23 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.8, allocations: 81.67 kB / 1.23 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.8002, allocations: 85.09 kB / 1.23 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.8002, allocations: 42.5 kB / 1.23 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.8002, allocations: 0 / 1.23 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0006545/0.8009, allocations: 304.7 kB / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.8009, allocations: 85.3 kB / 1.231 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.8011, allocations: 175.4 kB / 1.231 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.8011, allocations: 29.7 kB / 1.231 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.8012, allocations: 151.8 kB / 1.231 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.8013, allocations: 55.28 kB / 1.231 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.8014, allocations: 45.61 kB / 1.231 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.8015, allocations: 326.8 kB / 1.231 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.8016, allocations: 88.8 kB / 1.232 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.8018, allocations: 152.6 kB / 1.232 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.8021, allocations: 249.2 kB / 1.232 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8021, allocations: 0 / 1.232 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004067/0.8025, allocations: 276.7 kB / 1.232 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.8025, allocations: 4 kB / 1.232 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8026, allocations: 4 kB / 1.232 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8026, allocations: 8.25 kB / 1.232 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.8028, allocations: 55.91 kB / 1.232 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.8029, allocations: 4 kB / 1.232 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.803, allocations: 23.88 kB / 1.232 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.803, allocations: 12 kB / 1.232 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001757/0.8032, allocations: 172.1 kB / 1.232 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001476/0.8034, allocations: 150.1 kB / 1.233 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002659/0.8036, allocations: 234 kB / 1.233 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.562e-06/0.8036, allocations: 0 / 1.233 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000353/0.804, allocations: 249.3 kB / 1.233 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.804, allocations: 8 kB / 1.233 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.804, allocations: 4 kB / 1.233 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-06/0.804, allocations: 4 kB / 1.233 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.8042, allocations: 47.91 kB / 1.233 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8042, allocations: 11.92 kB / 1.233 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.8044, allocations: 15.91 kB / 1.233 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.8044, allocations: 12.33 kB / 1.233 GB, free: 5.246 MB / 0.9512 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.0001086/0.8045, allocations: 200.7 kB / 1.233 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.8046, allocations: 11.91 kB / 1.233 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.8049, allocations: 203.6 kB / 1.234 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.805, allocations: 3.938 kB / 1.234 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.805, allocations: 4 kB / 1.234 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.8051, allocations: 97 kB / 1.234 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.8051, allocations: 12 kB / 1.234 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.8053, allocations: 23.95 kB / 1.234 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.8053, allocations: 4 kB / 1.234 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003604/0.8057, allocations: 336.1 kB / 1.234 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003398/0.806, allocations: 421.8 kB / 1.234 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001017/0.8062, allocations: 79.89 kB / 1.234 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001123/0.8063, allocations: 143.2 kB / 1.235 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of Backend: time 5.31e-07/0.8063, allocations: 0 / 1.235 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.8073, allocations: 437.5 kB / 1.235 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008107/0.8082, allocations: 0.783 MB / 1.236 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of Templates: time 0.006922/0.8151, allocations: 3.703 MB / 1.239 GB, free: 14.72 MB / 0.9669 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