Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_10_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_10_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.0008577/0.0008577, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006309/0.006309, allocations: 170.2 kB / 16.27 MB, free: 6.66 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.826/2.826, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003971, allocations: 8 kB / 0.8728 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7438, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003193/0.7471, allocations: 2.318 MB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.7494, allocations: 1.481 MB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.7496, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.7498, allocations: 27.78 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.7503, allocations: 167.4 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.7508, allocations: 143.7 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.7512, allocations: 343.1 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007127/0.752, allocations: 338.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.7522, allocations: 71.7 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.7525, allocations: 111.6 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.7525, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004855/0.753, allocations: 271.5 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.7532, allocations: 67.8 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.7533, allocations: 105.2 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.7538, allocations: 332.9 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.7538, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7539, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.7539, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 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.0007993/0.7547, allocations: 459.2 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.7547, allocations: 8.031 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006424/0.7554, allocations: 76.66 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.7556, allocations: 247.8 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.7557, allocations: 12.69 kB / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.7557, allocations: 16.38 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.7562, allocations: 324.3 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.7562, allocations: 7.938 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.7563, allocations: 8 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.7563, allocations: 24.27 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.7567, allocations: 252.6 kB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.7585, allocations: 1.626 MB / 1.032 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.7591, allocations: 415.1 kB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.7593, allocations: 81.67 kB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.7594, allocations: 89.31 kB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.7595, allocations: 42.5 kB / 1.032 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.7595, allocations: 0 / 1.032 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.00067/0.7601, allocations: 300.5 kB / 1.032 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.7602, allocations: 85.05 kB / 1.033 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.7604, allocations: 168.2 kB / 1.033 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.7604, allocations: 29.7 kB / 1.033 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.7605, allocations: 155.7 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.7606, allocations: 55.28 kB / 1.033 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.7606, allocations: 17.72 kB / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7607, allocations: 326.8 kB / 1.033 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.7608, allocations: 79.94 kB / 1.033 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.761, allocations: 150.9 kB / 1.033 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.7614, allocations: 253.2 kB / 1.034 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7614, allocations: 4 kB / 1.034 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004103/0.7618, allocations: 265.3 kB / 1.034 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.7619, allocations: 163.7 kB / 1.034 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.7619, allocations: 8 kB / 1.034 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.7619, allocations: 4 kB / 1.034 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.7622, allocations: 55.89 kB / 1.034 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.7622, allocations: 8 kB / 1.034 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.7624, allocations: 19.89 kB / 1.034 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.7624, allocations: 12 kB / 1.034 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.7624, allocations: 4 kB / 1.034 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003209/0.7627, allocations: 207.7 kB / 1.034 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.7627, allocations: 0 / 1.034 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.7628, allocations: 8.312 kB / 1.034 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.763, allocations: 55.89 kB / 1.035 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.763, allocations: 4 kB / 1.035 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.7631, allocations: 15.92 kB / 1.035 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.7631, allocations: 12 kB / 1.035 GB, free: 3.441 MB / 0.7794 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.0001745/0.7633, allocations: 221.7 kB / 1.035 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.7634, allocations: 15.81 kB / 1.035 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.7637, allocations: 215.7 kB / 1.035 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7637, allocations: 0 / 1.035 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.7638, allocations: 3.938 kB / 1.035 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.7638, allocations: 3.984 kB / 1.035 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.765, allocations: 0.9535 MB / 1.036 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.765, allocations: 4.438 kB / 1.036 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.7651, allocations: 39.91 kB / 1.036 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.7651, allocations: 4 kB / 1.036 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.7652, allocations: 4 kB / 1.036 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.7652, allocations: 4 kB / 1.036 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7652, allocations: 4 kB / 1.036 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.7656, allocations: 444.3 kB / 1.036 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.7657, allocations: 120.8 kB / 1.037 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.7657, allocations: 8 kB / 1.037 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.7659, allocations: 15.98 kB / 1.037 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.766, allocations: 15.92 kB / 1.037 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.766, allocations: 12 kB / 1.037 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001137/0.7661, allocations: 131.2 kB / 1.037 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7661, allocations: 0 / 1.037 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000525/0.7666, allocations: 76 kB / 1.037 GB, free: 0.9727 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0001693/0.7668, allocations: 111.2 kB / 1.037 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004697/0.7673, allocations: 300 kB / 1.037 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7673, allocations: 0 / 1.037 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.7674, allocations: 87.75 kB / 1.037 GB, free: 484 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.768, allocations: 38.3 kB / 1.037 GB, free: 448 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.7688, allocations: 0.5637 MB / 1.038 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.7692, allocations: 0.7441 MB / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.7694, allocations: 77.5 kB / 1.039 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.7695, allocations: 19.44 kB / 1.039 GB, free: 14.95 MB / 0.795 GB Notification: Performance of SimCode: time 1.754e-06/0.7695, allocations: 0 / 1.039 GB, free: 14.95 MB / 0.795 GB Notification: Performance of Templates: time 0.004706/0.7742, allocations: 1.715 MB / 1.04 GB, free: 13.25 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches