Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.007864/0.007864, allocations: 100.3 kB / 15.73 MB, free: 6.008 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.001246/0.001246, allocations: 197.3 kB / 16.67 MB, free: 5.93 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 71.88 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9075/0.909, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03265/0.9417, allocations: 26.65 MB / 1.114 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.959, allocations: 8.081 MB / 1.121 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004842/0.9639, allocations: 123.1 kB / 1.122 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00781/0.9719, allocations: 2.75 MB / 1.124 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005959/0.9778, allocations: 1.583 MB / 1.126 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005652/0.9835, allocations: 1.67 MB / 1.127 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01019/0.9937, allocations: 6.147 MB / 1.133 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01353/1.007, allocations: 7.319 MB / 1.141 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005745/1.013, allocations: 2.619 MB / 1.143 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006224/1.019, allocations: 2.831 MB / 1.146 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002205/1.022, allocations: 0.5083 MB / 1.146 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004911/1.026, allocations: 1.285 MB / 1.148 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00477/1.031, allocations: 2.045 MB / 1.15 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.009573/1.041, allocations: 2.384 MB / 1.152 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01579/1.057, allocations: 8.056 MB / 1.16 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.057, allocations: 0 / 1.16 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.894e-06/1.057, allocations: 0 / 1.16 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003223/1.057, allocations: 1.312 kB / 1.16 GB, free: 10.96 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01531/1.072, allocations: 4.226 MB / 1.164 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.072, allocations: 9.656 kB / 1.164 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002227/1.075, allocations: 0.5394 MB / 1.164 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/1.08, allocations: 0.8065 MB / 1.165 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007372/1.088, allocations: 2.57 MB / 1.168 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/1.088, allocations: 270.8 kB / 1.168 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/1.09, allocations: 385.2 kB / 1.168 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/1.106, allocations: 5.999 MB / 1.174 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/1.106, allocations: 23.36 kB / 1.174 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005215/1.107, allocations: 153.9 kB / 1.174 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007531/1.108, allocations: 281.3 kB / 1.175 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/1.118, allocations: 4.526 MB / 1.179 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03272/1.151, allocations: 27.45 MB / 1.206 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/1.153, allocations: 1.123 MB / 1.207 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/1.154, allocations: 1.015 MB / 1.208 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.986e-05/1.154, allocations: 13 kB / 1.208 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/1.154, allocations: 47.56 kB / 1.208 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 2.966e-06/1.154, allocations: 3.938 kB / 1.208 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.02167/1.176, allocations: 9.66 MB / 1.217 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/1.176, allocations: 64.72 kB / 1.218 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/1.178, allocations: 1.502 MB / 1.219 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/1.178, allocations: 45.7 kB / 1.219 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.179, allocations: 1.671 MB / 1.221 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/1.179, allocations: 469.3 kB / 1.221 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004865/1.18, allocations: 327.2 kB / 1.221 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/1.18, allocations: 305.1 kB / 1.222 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/1.181, allocations: 0.9213 MB / 1.223 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/1.183, allocations: 1.455 MB / 1.224 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/1.186, allocations: 2.554 MB / 1.227 GB, free: 12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/1.186, allocations: 4 kB / 1.227 GB, free: 12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005548/1.191, allocations: 3.29 MB / 1.23 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.191, allocations: 14.5 kB / 1.23 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/1.191, allocations: 20.16 kB / 1.23 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/1.193, allocations: 0.7334 MB / 1.231 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/1.195, allocations: 387.4 kB / 1.231 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/1.21, allocations: 17.04 MB / 1.248 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/1.213, allocations: 103.8 kB / 1.248 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/1.213, allocations: 72 kB / 1.248 GB, free: 5.02 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003377/1.217, allocations: 1.314 MB / 1.249 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006718/1.217, allocations: 205.6 kB / 1.249 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0051/1.223, allocations: 2.78 MB / 1.252 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/1.223, allocations: 16 kB / 1.252 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.223, allocations: 8 kB / 1.252 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.223, allocations: 7.969 kB / 1.252 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.234, allocations: 6.22 MB / 1.258 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.234, allocations: 4 kB / 1.258 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.235, allocations: 231.6 kB / 1.258 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/1.237, allocations: 0.6639 MB / 1.259 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/1.237, allocations: 43.92 kB / 1.259 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.252, allocations: 16.79 MB / 1.275 GB, free: 7.238 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/1.252, allocations: 7.938 kB / 1.275 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006148/1.258, allocations: 4.004 MB / 1.279 GB, free: 3.117 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.259, allocations: 454.6 kB / 1.28 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/1.26, allocations: 39.84 kB / 1.28 GB, free: 2.613 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/1.261, allocations: 87.83 kB / 1.28 GB, free: 2.527 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/1.261, allocations: 112.7 kB / 1.28 GB, free: 2.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.23e-05/1.261, allocations: 40 kB / 1.28 GB, free: 2.379 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001266/1.262, allocations: 0.9942 MB / 1.281 GB, free: 1.395 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.262, allocations: 0 / 1.281 GB, free: 1.395 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002545/1.265, allocations: 0.6836 MB / 1.282 GB, free: 0.7109 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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 Backend phase and start with SimCode phase: time 0.006032/1.271, allocations: 4.613 MB / 1.286 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005055/1.276, allocations: 3.515 MB / 1.29 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.276, allocations: 4.062 kB / 1.29 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003107/1.279, allocations: 2.291 MB / 1.292 GB, free: 5.934 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/1.282, allocations: 0.6774 MB / 1.292 GB, free: 5.273 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03732/1.32, allocations: 21.15 MB / 1.313 GB, free: 15.26 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003174/1.323, allocations: 2.66 MB / 1.316 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001672/1.325, allocations: 485.4 kB / 1.316 GB, free: 12.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/1.326, allocations: 1.284 MB / 1.317 GB, free: 10.81 MB / 1.061 GB Notification: Performance of SimCode: time 8.01e-07/1.326, allocations: 3.938 kB / 1.317 GB, free: 10.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.441, allocations: 57.83 MB / 1.374 GB, free: 1.711 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.89, allocations: 10 kB / 1.374 GB, free: 1.707 MB / 1.107 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches