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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00163/0.00163, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001785/0.001786, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.589/1.589, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.411/2.411, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.53 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3411, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004698/0.3458, allocations: 2.615 MB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.3483, allocations: 1.488 MB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.3484, allocations: 0 / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008735/0.3493, allocations: 240 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.3498, allocations: 187.2 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.3502, allocations: 151.6 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.3505, allocations: 219.4 kB / 1.024 GB, free: 4.969 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.3508, allocations: 178.5 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.3509, allocations: 95.62 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.3512, allocations: 123.5 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.3513, allocations: 16 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.3517, allocations: 223.5 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.3519, allocations: 75.81 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.493e-05/0.352, allocations: 87.58 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005819/0.3526, allocations: 323 kB / 1.025 GB, free: 3.863 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3526, allocations: 4 kB / 1.025 GB, free: 3.859 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.078e-06/0.3526, allocations: 0 / 1.025 GB, free: 3.859 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.3527, allocations: 3.938 kB / 1.025 GB, free: 3.855 MB / 0.795 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.0008296/0.3535, allocations: 487.1 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3535, allocations: 8.922 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/0.3541, allocations: 84.64 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.3545, allocations: 234.3 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3546, allocations: 12.7 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.3546, allocations: 16.38 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.3551, allocations: 324.3 kB / 1.026 GB, free: 2.594 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3552, allocations: 8 kB / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.3552, allocations: 4 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/0.3552, allocations: 28.2 kB / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.3556, allocations: 248.6 kB / 1.026 GB, free: 2.309 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.3575, allocations: 1.622 MB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/0.3581, allocations: 415.2 kB / 1.028 GB, free: 80 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3583, allocations: 81.67 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.3584, allocations: 93.09 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.3585, allocations: 30.78 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 6.382e-06/0.3585, allocations: 3.984 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0006703/0.3592, allocations: 316.4 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.3593, allocations: 81.11 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.3595, allocations: 176.2 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.3595, allocations: 25.7 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.3598, allocations: 151.9 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.3598, allocations: 55.19 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.36, allocations: 45.7 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002818/0.3602, allocations: 331 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.3604, allocations: 80.81 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.3606, allocations: 147.8 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.361, allocations: 253.2 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.361, allocations: 4.125 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000426/0.3614, allocations: 269.7 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3614, allocations: 8.25 kB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3615, allocations: 8 kB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.3615, allocations: 7.938 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.3618, allocations: 55.89 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3618, allocations: 4 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.3619, allocations: 15.98 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.3619, allocations: 12 kB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001888/0.3621, allocations: 180 kB / 1.03 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001625/0.3623, allocations: 148.4 kB / 1.03 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002736/0.3626, allocations: 233.4 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.3626, allocations: 0 / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003512/0.363, allocations: 257.2 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.363, allocations: 8 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-06/0.363, allocations: 0 / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.363, allocations: 4 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.3632, allocations: 59.84 kB / 1.031 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3632, allocations: 4 kB / 1.031 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3633, allocations: 24.27 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.3633, allocations: 8 kB / 1.031 GB, free: 12.72 MB / 0.8106 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.0001282/0.3635, allocations: 192.2 kB / 1.031 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.3635, allocations: 11.81 kB / 1.031 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.364, allocations: 203.7 kB / 1.031 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.364, allocations: 0 / 1.031 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.364, allocations: 8 kB / 1.031 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.364, allocations: 3.984 kB / 1.031 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.3656, allocations: 0.965 MB / 1.032 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3656, allocations: 0 / 1.032 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.3657, allocations: 31.97 kB / 1.032 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3657, allocations: 8 kB / 1.032 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.3658, allocations: 8.438 kB / 1.032 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.3658, allocations: 7.938 kB / 1.032 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.3658, allocations: 11.94 kB / 1.032 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.3662, allocations: 428.8 kB / 1.033 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.3664, allocations: 105 kB / 1.033 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.3664, allocations: 11.91 kB / 1.033 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3666, allocations: 15.98 kB / 1.033 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.3666, allocations: 23.86 kB / 1.033 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.3666, allocations: 11.94 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001077/0.3668, allocations: 136.2 kB / 1.033 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3668, allocations: 0 / 1.033 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004994/0.3673, allocations: 76 kB / 1.033 GB, free: 10.29 MB / 0.8106 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.0001602/0.3674, allocations: 111.1 kB / 1.033 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000483/0.3679, allocations: 308.4 kB / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3679, allocations: 384 / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.3681, allocations: 91.75 kB / 1.034 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.3686, allocations: 33.92 kB / 1.034 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/0.3695, allocations: 479.2 kB / 1.034 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.3699, allocations: 0.7519 MB / 1.035 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.3701, allocations: 77.47 kB / 1.035 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.3701, allocations: 19.44 kB / 1.035 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3701, allocations: 0 / 1.035 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of Templates: time 0.005332/0.3755, allocations: 1.809 MB / 1.037 GB, free: 6.555 MB / 0.8106 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 -s cvode -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/jenkins1/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