Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009732/0.0009732, allocations: 190 kB / 16.14 MB, free: 6.719 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.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.49/2.49, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.12 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2398, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02797/0.2678, allocations: 30.51 MB / 1.082 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.2847, allocations: 13.55 MB / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.2867, allocations: 131.2 kB / 1.095 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006122/0.2929, allocations: 2.965 MB / 1.098 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004981/0.2979, allocations: 2.469 MB / 1.101 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.3015, allocations: 1.842 MB / 1.102 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008824/0.3103, allocations: 10.43 MB / 1.113 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01027/0.3206, allocations: 9.054 MB / 1.122 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003944/0.3246, allocations: 2.978 MB / 1.124 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003516/0.3281, allocations: 3.422 MB / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005907/0.3287, allocations: 404 kB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.3313, allocations: 1.533 MB / 1.13 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001714/0.333, allocations: 2.163 MB / 1.132 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002436/0.3355, allocations: 2.64 MB / 1.134 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007256/0.3427, allocations: 9.301 MB / 1.143 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3428, allocations: 0 / 1.143 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3428, allocations: 0 / 1.143 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001242/0.3429, allocations: 0 / 1.143 GB, free: 10.5 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.007787/0.3507, allocations: 5.144 MB / 1.148 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3507, allocations: 11.97 kB / 1.148 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006984/0.3514, allocations: 0.6164 MB / 1.149 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00501/0.3565, allocations: 0.998 MB / 1.15 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/0.3606, allocations: 2.896 MB / 1.153 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.3608, allocations: 312.8 kB / 1.153 GB, free: 352 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005392/0.3614, allocations: 419.9 kB / 1.154 GB, free: 15.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008666/0.37, allocations: 6.799 MB / 1.16 GB, free: 8.84 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/0.3701, allocations: 19.78 kB / 1.16 GB, free: 8.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003897/0.3705, allocations: 184 kB / 1.16 GB, free: 8.641 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007657/0.3713, allocations: 372 kB / 1.161 GB, free: 8.273 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006949/0.3783, allocations: 5.118 MB / 1.166 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02524/0.4035, allocations: 30.73 MB / 1.196 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4053, allocations: 1.395 MB / 1.197 GB, free: 240 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.4068, allocations: 1.328 MB / 1.198 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.675e-05/0.4069, allocations: 13.31 kB / 1.198 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.407, allocations: 51.88 kB / 1.198 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 3.086e-06/0.407, allocations: 0 / 1.198 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.07867/0.4856, allocations: 23.07 MB / 1.221 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.4857, allocations: 77.41 kB / 1.221 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.488, allocations: 2.062 MB / 1.223 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.4882, allocations: 61.7 kB / 1.223 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.4893, allocations: 2.01 MB / 1.225 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004637/0.4897, allocations: 0.6777 MB / 1.226 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006398/0.4904, allocations: 412.2 kB / 1.226 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.4905, allocations: 305.1 kB / 1.226 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.4924, allocations: 1.43 MB / 1.228 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/0.4945, allocations: 2.017 MB / 1.23 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004199/0.4988, allocations: 3.688 MB / 1.233 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.4988, allocations: 4 kB / 1.233 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009779/0.5086, allocations: 5.665 MB / 1.239 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.5086, allocations: 12 kB / 1.239 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.5086, allocations: 16 kB / 1.239 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00641/0.515, allocations: 2.088 MB / 1.241 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.5163, allocations: 375.4 kB / 1.241 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.427/0.9433, allocations: 35.49 MB / 1.276 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/0.9458, allocations: 128.5 kB / 1.276 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.946, allocations: 93.09 kB / 1.276 GB, free: 151.8 MB / 0.9981 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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.002685/0.9487, allocations: 1.502 MB / 1.278 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005397/0.9492, allocations: 286.1 kB / 1.278 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/0.96, allocations: 5.221 MB / 1.283 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.9601, allocations: 19.19 kB / 1.283 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.632e-05/0.9601, allocations: 18.16 kB / 1.283 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/0.9601, allocations: 17.28 kB / 1.283 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01688/0.977, allocations: 9.673 MB / 1.293 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.9771, allocations: 5.719 kB / 1.293 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/0.9779, allocations: 223.6 kB / 1.293 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005568/0.9835, allocations: 1.835 MB / 1.295 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.9836, allocations: 46.81 kB / 1.295 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02725/1.011, allocations: 34.51 MB / 1.328 GB, free: 116.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.011, allocations: 11.88 kB / 1.328 GB, free: 116.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007746/1.019, allocations: 4.902 MB / 1.333 GB, free: 113.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/1.02, allocations: 0.6212 MB / 1.334 GB, free: 112.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/1.02, allocations: 43.75 kB / 1.334 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.021, allocations: 125.7 kB / 1.334 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006208/1.022, allocations: 195.1 kB / 1.334 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/1.022, allocations: 59.91 kB / 1.334 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001631/1.024, allocations: 1.377 MB / 1.336 GB, free: 111.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.41e-07/1.024, allocations: 0 / 1.336 GB, free: 111.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003181/1.027, allocations: 1.051 MB / 1.337 GB, free: 111.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007173/1.034, allocations: 5.529 MB / 1.342 GB, free: 108.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007584/1.042, allocations: 6.273 MB / 1.348 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.042, allocations: 4 kB / 1.348 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004888/1.047, allocations: 4.391 MB / 1.352 GB, free: 97.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/1.05, allocations: 0.911 MB / 1.353 GB, free: 96.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04434/1.094, allocations: 35.97 MB / 1.388 GB, free: 58.35 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002531/1.097, allocations: 3.127 MB / 1.391 GB, free: 55.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001707/1.099, allocations: 0.5159 MB / 1.392 GB, free: 54.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/1.1, allocations: 1.679 MB / 1.394 GB, free: 52.99 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/1.1, allocations: 0 / 1.394 GB, free: 52.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8359/1.936, allocations: 87.18 MB / 1.479 GB, free: 14.86 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/1.936, allocations: 256.1 kB / 1.479 GB, free: 14.59 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.284/5.22, allocations: 0 / 1.479 GB, free: 14.59 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches