Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.647/2.647, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6169, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01903/0.636, allocations: 14.78 MB / 1.032 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.6519, allocations: 10.36 MB / 1.042 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.6535, allocations: 59.62 kB / 1.042 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004577/0.6581, allocations: 1.682 MB / 1.044 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005359/0.6635, allocations: 1.824 MB / 1.045 GB, free: 5.695 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.6663, allocations: 0.7561 MB / 1.046 GB, free: 4.941 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005635/0.672, allocations: 2.735 MB / 1.049 GB, free: 2.195 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.6752, allocations: 1.43 MB / 1.05 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003555/0.6788, allocations: 1.488 MB / 1.052 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003283/0.6821, allocations: 1.164 MB / 1.053 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007705/0.6829, allocations: 164 kB / 1.053 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.6863, allocations: 0.776 MB / 1.054 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.6879, allocations: 0.6115 MB / 1.054 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00261/0.6905, allocations: 0.9561 MB / 1.055 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006166/0.6967, allocations: 2.73 MB / 1.058 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.6967, allocations: 4 kB / 1.058 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.514e-06/0.6967, allocations: 0 / 1.058 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001098/0.6968, allocations: 0 / 1.058 GB, free: 8.816 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.007885/0.7047, allocations: 2.174 MB / 1.06 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.7048, allocations: 12.03 kB / 1.06 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006128/0.7054, allocations: 198.3 kB / 1.06 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02088/0.7263, allocations: 2.108 MB / 1.062 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/0.7303, allocations: 1.221 MB / 1.064 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.7305, allocations: 82.69 kB / 1.064 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006064/0.7311, allocations: 115.9 kB / 1.064 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.7417, allocations: 2.678 MB / 1.066 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.631e-05/0.7418, allocations: 11.94 kB / 1.066 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003296/0.7422, allocations: 51.98 kB / 1.066 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007499/0.7429, allocations: 190.1 kB / 1.067 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008827/0.7518, allocations: 2.791 MB / 1.069 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/0.769, allocations: 10.51 MB / 1.08 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007049/0.7761, allocations: 2.344 MB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003433/0.7796, allocations: 1.274 MB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.7797, allocations: 9 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.7798, allocations: 47.55 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 4.388e-06/0.7798, allocations: 0 / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.06236/0.8422, allocations: 16.48 MB / 1.099 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.8423, allocations: 64.72 kB / 1.099 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.844, allocations: 1.176 MB / 1.1 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002324/0.8442, allocations: 49.7 kB / 1.1 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005638/0.8448, allocations: 0.7514 MB / 1.101 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006809/0.8455, allocations: 0.512 MB / 1.102 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007428/0.8463, allocations: 287.4 kB / 1.102 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8464, allocations: 309.1 kB / 1.102 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003742/0.8501, allocations: 1.51 MB / 1.104 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004001/0.8541, allocations: 1.78 MB / 1.106 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007672/0.8618, allocations: 3.369 MB / 1.109 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.8619, allocations: 4 kB / 1.109 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01426/0.8762, allocations: 5.269 MB / 1.114 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.8763, allocations: 8.125 kB / 1.114 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.8763, allocations: 12 kB / 1.114 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006993/0.8833, allocations: 1.9 MB / 1.116 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.8855, allocations: 415.2 kB / 1.116 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03026/0.9157, allocations: 24.15 MB / 1.14 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/0.9187, allocations: 311.6 kB / 1.14 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003605/0.9191, allocations: 67.91 kB / 1.14 GB, free: 2.141 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001077/0.9202, allocations: 467.5 kB / 1.141 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005536/0.9208, allocations: 173.9 kB / 1.141 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.9349, allocations: 5.32 MB / 1.146 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.9349, allocations: 12 kB / 1.146 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.44e-05/0.935, allocations: 27.94 kB / 1.146 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.098e-05/0.9351, allocations: 3.984 kB / 1.146 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.9535, allocations: 7.418 MB / 1.153 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.9535, allocations: 4 kB / 1.153 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.9553, allocations: 355.7 kB / 1.154 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/0.9616, allocations: 1.727 MB / 1.155 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/0.9618, allocations: 47.91 kB / 1.155 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02919/0.991, allocations: 23.32 MB / 1.178 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.9911, allocations: 4 kB / 1.178 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/1.004, allocations: 4.889 MB / 1.183 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.005, allocations: 490.8 kB / 1.183 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/1.006, allocations: 28 kB / 1.183 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/1.009, allocations: 319.5 kB / 1.184 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006121/1.009, allocations: 149 kB / 1.184 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/1.009, allocations: 59.95 kB / 1.184 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001337/1.011, allocations: 0.786 MB / 1.185 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.011, allocations: 0 / 1.185 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002492/1.013, allocations: 0.6602 MB / 1.185 GB, free: 2.5 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01288/1.026, allocations: 5.482 MB / 1.191 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.039, allocations: 5.421 MB / 1.196 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.039, allocations: 4 kB / 1.196 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.008138/1.047, allocations: 3.355 MB / 1.199 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/1.051, allocations: 0.5538 MB / 1.2 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05193/1.103, allocations: 22.98 MB / 1.222 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/1.104, allocations: 1.568 MB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001759/1.106, allocations: 382.4 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009262/1.107, allocations: 0.6593 MB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of SimCode: time 1.112e-06/1.107, allocations: 0 / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6761/1.783, allocations: 58.34 MB / 1.282 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/13.3, allocations: 7.688 kB / 1.282 GB, free: 209.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches