Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.007577/0.007577, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001607/0.001607, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.689/2.689, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3484, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03804/0.3865, allocations: 32.59 MB / 1.198 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.4062, allocations: 10.27 MB / 1.208 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003704/0.41, allocations: 155.2 kB / 1.208 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009902/0.4199, allocations: 3.726 MB / 1.212 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005915/0.4259, allocations: 1.952 MB / 1.214 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00576/0.4316, allocations: 2.143 MB / 1.216 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009363/0.441, allocations: 7.329 MB / 1.223 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01775/0.4588, allocations: 9.415 MB / 1.232 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007586/0.4664, allocations: 3.229 MB / 1.235 GB, free: 184 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007847/0.4743, allocations: 3.485 MB / 1.239 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003084/0.4775, allocations: 0.6484 MB / 1.239 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006158/0.4836, allocations: 1.767 MB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.007165/0.4909, allocations: 2.55 MB / 1.244 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009204/0.5001, allocations: 2.898 MB / 1.246 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6986/1.199, allocations: 10.1 MB / 1.256 GB, free: 32.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/1.199, allocations: 1.422 kB / 1.256 GB, free: 32.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.855e-06/1.199, allocations: 0 / 1.256 GB, free: 32.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005753/1.199, allocations: 1.625 kB / 1.256 GB, free: 32.09 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02786/1.227, allocations: 5.002 MB / 1.261 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.422e-05/1.227, allocations: 9.062 kB / 1.261 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005182/1.233, allocations: 0.681 MB / 1.262 GB, free: 30.28 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/1.244, allocations: 0.9557 MB / 1.263 GB, free: 30.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/1.258, allocations: 3.053 MB / 1.266 GB, free: 29.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001605/1.259, allocations: 346.3 kB / 1.266 GB, free: 29.37 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004913/1.264, allocations: 465.3 kB / 1.267 GB, free: 29.37 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03205/1.296, allocations: 7.667 MB / 1.274 GB, free: 28.35 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006226/1.297, allocations: 24.81 kB / 1.274 GB, free: 28.35 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003272/1.3, allocations: 201.9 kB / 1.274 GB, free: 28.35 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007295/1.301, allocations: 311.8 kB / 1.275 GB, free: 28.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/1.317, allocations: 5.711 MB / 1.28 GB, free: 28.29 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04132/1.358, allocations: 34.82 MB / 1.314 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/1.361, allocations: 2.162 MB / 1.316 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/1.363, allocations: 1.266 MB / 1.317 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-05/1.363, allocations: 18.22 kB / 1.317 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/1.363, allocations: 50.27 kB / 1.318 GB, free: 14.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=133): time 4.218e-06/1.363, allocations: 0 / 1.318 GB, free: 14.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=136): time 0.01644/1.379, allocations: 7.084 MB / 1.324 GB, free: 11.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/1.38, allocations: 69.72 kB / 1.325 GB, free: 11.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/1.383, allocations: 1.489 MB / 1.326 GB, free: 10.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/1.383, allocations: 45.92 kB / 1.326 GB, free: 10.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002014/1.385, allocations: 2.007 MB / 1.328 GB, free: 8.891 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007458/1.386, allocations: 486.8 kB / 1.328 GB, free: 8.523 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007874/1.387, allocations: 351 kB / 1.329 GB, free: 8.352 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.387, allocations: 302.5 kB / 1.329 GB, free: 8.055 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/1.389, allocations: 0.9115 MB / 1.33 GB, free: 7.719 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/1.391, allocations: 1.598 MB / 1.332 GB, free: 6.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003994/1.395, allocations: 2.735 MB / 1.334 GB, free: 4.781 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.7e-05/1.395, allocations: 6.344 kB / 1.334 GB, free: 4.781 MB / 1.014 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007229/1.402, allocations: 3.532 MB / 1.338 GB, free: 3.219 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/1.402, allocations: 16.19 kB / 1.338 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/1.402, allocations: 20.34 kB / 1.338 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/1.405, allocations: 0.9093 MB / 1.339 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.406, allocations: 346.6 kB / 1.339 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/1.429, allocations: 23.1 MB / 1.361 GB, free: 13.47 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002699/1.431, allocations: 107.9 kB / 1.362 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005449/1.432, allocations: 84.66 kB / 1.362 GB, free: 13.4 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003578/1.435, allocations: 1.609 MB / 1.363 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007767/1.436, allocations: 212 kB / 1.363 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005721/1.442, allocations: 2.989 MB / 1.366 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.442, allocations: 10.75 kB / 1.366 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.489e-05/1.442, allocations: 11.62 kB / 1.366 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/1.442, allocations: 7.969 kB / 1.366 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.458, allocations: 7.342 MB / 1.374 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.458, allocations: 3.688 kB / 1.374 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/1.459, allocations: 175.3 kB / 1.374 GB, free: 5.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/1.461, allocations: 0.8255 MB / 1.374 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/1.461, allocations: 35.61 kB / 1.375 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02089/1.482, allocations: 21.94 MB / 1.396 GB, free: 1.133 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/1.482, allocations: 7.703 kB / 1.396 GB, free: 1.129 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006418/1.489, allocations: 3.025 MB / 1.399 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.49, allocations: 454.5 kB / 1.399 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007238/1.491, allocations: 31.94 kB / 1.399 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/1.492, allocations: 75.91 kB / 1.399 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004364/1.493, allocations: 123 kB / 1.4 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.493, allocations: 36 kB / 1.4 GB, free: 13.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001736/1.494, allocations: 0.9828 MB / 1.401 GB, free: 12.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.8e-07/1.494, allocations: 0 / 1.401 GB, free: 12.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004269/1.499, allocations: 0.7812 MB / 1.401 GB, free: 11.56 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005889/1.505, allocations: 3.629 MB / 1.405 GB, free: 7.855 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006388/1.511, allocations: 4.033 MB / 1.409 GB, free: 3.754 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.511, allocations: 4 kB / 1.409 GB, free: 3.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003877/1.515, allocations: 2.734 MB / 1.411 GB, free: 0.8945 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/1.519, allocations: 0.7271 MB / 1.412 GB, free: 204 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05047/1.57, allocations: 22.31 MB / 1.434 GB, free: 9.055 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008676/1.578, allocations: 3.117 MB / 1.437 GB, free: 5.91 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002972/1.581, allocations: 458 kB / 1.437 GB, free: 5.461 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004072/1.585, allocations: 1.537 MB / 1.439 GB, free: 3.926 MB / 1.107 GB Notification: Performance of SimCode: time 1.413e-06/1.585, allocations: 0 / 1.439 GB, free: 3.926 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/1.725, allocations: 61.43 MB / 1.499 GB, free: 7.336 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/14.49, allocations: 15.41 kB / 1.499 GB, free: 7.324 MB / 1.17 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches