Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 107.6 kB / 16.41 MB, free: 6.406 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.001118/0.001118, allocations: 191.2 kB / 17.34 MB, free: 5.695 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.43/2.43, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/0.8164, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004626/0.8211, allocations: 2.638 MB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.824, allocations: 1.578 MB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.8242, allocations: 4 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000819/0.825, allocations: 172.8 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005155/0.8256, allocations: 155.3 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.8261, allocations: 183.5 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.8265, allocations: 215.3 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.8269, allocations: 121 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.8271, allocations: 91.67 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.8274, allocations: 103.6 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.8274, allocations: 12 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.8279, allocations: 211.6 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.828, allocations: 59.88 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.8281, allocations: 79.61 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.8287, allocations: 312.7 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8287, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8287, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.8287, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009227/0.8296, allocations: 479.2 kB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.8297, allocations: 8.922 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008629/0.8305, allocations: 84.64 kB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.8309, allocations: 239.9 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.8309, allocations: 12.66 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.831, allocations: 8.375 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.8315, allocations: 307.5 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.8315, allocations: 0 / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.8315, allocations: 4 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.8316, allocations: 16.23 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.832, allocations: 224.4 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.834, allocations: 1.599 MB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.8344, allocations: 315.3 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.8345, allocations: 73.61 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.8345, allocations: 0 / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.8346, allocations: 34.56 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.8346, allocations: 0 / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0005969/0.8352, allocations: 244.6 kB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.8352, allocations: 89.09 kB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.8355, allocations: 208.1 kB / 1.177 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.8355, allocations: 29.7 kB / 1.177 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.8356, allocations: 155.6 kB / 1.177 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.8357, allocations: 39.39 kB / 1.177 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.8358, allocations: 53.69 kB / 1.177 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8359, allocations: 322.8 kB / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.8361, allocations: 84.75 kB / 1.178 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.8363, allocations: 157.2 kB / 1.178 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.8366, allocations: 238.9 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8367, allocations: 4 kB / 1.178 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005486/0.8372, allocations: 269.1 kB / 1.178 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.8372, allocations: 11.98 kB / 1.178 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.8373, allocations: 4 kB / 1.178 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.8373, allocations: 7.938 kB / 1.178 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.8376, allocations: 52.28 kB / 1.178 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.8376, allocations: 11.94 kB / 1.178 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.8379, allocations: 23.97 kB / 1.178 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.8379, allocations: 8 kB / 1.178 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001984/0.8381, allocations: 168.1 kB / 1.178 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000189/0.8383, allocations: 153.1 kB / 1.179 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002774/0.8386, allocations: 219.8 kB / 1.179 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.8386, allocations: 0 / 1.179 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005425/0.8391, allocations: 261.3 kB / 1.179 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.8391, allocations: 4 kB / 1.179 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8392, allocations: 4 kB / 1.179 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.8392, allocations: 4 kB / 1.179 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.8394, allocations: 55.91 kB / 1.179 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.8394, allocations: 11.92 kB / 1.179 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.8396, allocations: 19.92 kB / 1.179 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.8397, allocations: 16.22 kB / 1.179 GB, free: 7.078 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0001132/0.8398, allocations: 195 kB / 1.179 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.8398, allocations: 15.94 kB / 1.179 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.8401, allocations: 147 kB / 1.179 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.8401, allocations: 11.94 kB / 1.179 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8401, allocations: 0 / 1.179 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8402, allocations: 0 / 1.179 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009663/0.8411, allocations: 0.7195 MB / 1.18 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.8411, allocations: 4.344 kB / 1.18 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.8413, allocations: 35.91 kB / 1.18 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.8413, allocations: 4 kB / 1.18 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.8413, allocations: 4 kB / 1.18 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.8413, allocations: 4 kB / 1.18 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8413, allocations: 7.938 kB / 1.18 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.8416, allocations: 366.3 kB / 1.181 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.8418, allocations: 112.9 kB / 1.181 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.8418, allocations: 11.94 kB / 1.181 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.842, allocations: 11.98 kB / 1.181 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.8421, allocations: 15.88 kB / 1.181 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.8421, allocations: 11.98 kB / 1.181 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001863/0.8423, allocations: 152.9 kB / 1.181 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8423, allocations: 0 / 1.181 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005176/0.8428, allocations: 72 kB / 1.181 GB, free: 5.039 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0001635/0.843, allocations: 111.2 kB / 1.181 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005464/0.8435, allocations: 288.6 kB / 1.181 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8436, allocations: 0 / 1.181 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.8436, allocations: 59.83 kB / 1.181 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.8441, allocations: 30.17 kB / 1.181 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007354/0.8449, allocations: 456.1 kB / 1.182 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.8452, allocations: 0.7363 MB / 1.183 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.8453, allocations: 23.44 kB / 1.183 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.8453, allocations: 0 / 1.183 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of Templates: time 0.004514/0.8498, allocations: 2.353 MB / 1.185 GB, free: 0.918 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches