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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0016/0.0016, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001886/0.001886, allocations: 187.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.238/2.238, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.287/4.287, allocations: 461.9 MB / 0.7344 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 64.72 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4192, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03099/0.4502, allocations: 30.5 MB / 1.082 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01821/0.4684, allocations: 13.46 MB / 1.095 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.4709, allocations: 131.2 kB / 1.095 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007014/0.478, allocations: 2.975 MB / 1.098 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006061/0.484, allocations: 2.452 MB / 1.101 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00416/0.4882, allocations: 1.843 MB / 1.103 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008085/0.4963, allocations: 7.647 MB / 1.11 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01108/0.5074, allocations: 9.942 MB / 1.12 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00416/0.5116, allocations: 3.45 MB / 1.123 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/0.515, allocations: 3.543 MB / 1.127 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006904/0.5157, allocations: 0.5977 MB / 1.127 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.518, allocations: 1.49 MB / 1.129 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.5197, allocations: 2.37 MB / 1.131 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.5221, allocations: 2.878 MB / 1.134 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006959/0.5291, allocations: 9.472 MB / 1.143 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5291, allocations: 0 / 1.143 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5291, allocations: 4 kB / 1.143 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.947e-05/0.5292, allocations: 0 / 1.143 GB, free: 11.53 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.007706/0.5369, allocations: 5.124 MB / 1.148 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5369, allocations: 12.62 kB / 1.148 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007145/0.5377, allocations: 0.6242 MB / 1.149 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/0.5429, allocations: 0.998 MB / 1.15 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0043/0.5472, allocations: 2.896 MB / 1.152 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.5474, allocations: 320.8 kB / 1.153 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005911/0.548, allocations: 419.8 kB / 1.153 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009103/0.5571, allocations: 6.791 MB / 1.16 GB, free: 9.887 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.838e-05/0.5572, allocations: 19.78 kB / 1.16 GB, free: 9.867 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000387/0.5576, allocations: 192 kB / 1.16 GB, free: 9.68 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007749/0.5584, allocations: 372 kB / 1.16 GB, free: 9.312 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007021/0.5654, allocations: 5.106 MB / 1.165 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03718/0.6026, allocations: 30.73 MB / 1.195 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.6059, allocations: 1.395 MB / 1.197 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002705/0.6087, allocations: 1.335 MB / 1.198 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.6088, allocations: 17.31 kB / 1.198 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.6089, allocations: 47.88 kB / 1.198 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 5.31e-06/0.6089, allocations: 0 / 1.198 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.0969/0.7058, allocations: 23.06 MB / 1.221 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.7059, allocations: 73.41 kB / 1.221 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004993/0.7109, allocations: 2.066 MB / 1.223 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000505/0.7115, allocations: 61.7 kB / 1.223 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001814/0.7133, allocations: 2.006 MB / 1.225 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001102/0.7144, allocations: 0.6817 MB / 1.225 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/0.7157, allocations: 412.1 kB / 1.226 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7159, allocations: 309 kB / 1.226 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/0.7184, allocations: 1.433 MB / 1.227 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.7216, allocations: 2.021 MB / 1.229 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005164/0.7268, allocations: 3.684 MB / 1.233 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.7268, allocations: 8 kB / 1.233 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01208/0.7389, allocations: 5.657 MB / 1.239 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.739, allocations: 16.06 kB / 1.239 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.7391, allocations: 16 kB / 1.239 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007401/0.7465, allocations: 2.099 MB / 1.241 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.7482, allocations: 379.4 kB / 1.241 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02/1.768, allocations: 38.45 MB / 1.279 GB, free: 174.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/1.773, allocations: 125.8 kB / 1.279 GB, free: 174.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006664/1.773, allocations: 95.81 kB / 1.279 GB, free: 174.4 MB / 1.014 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.005181/1.778, allocations: 1.508 MB / 1.28 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.78, allocations: 286.9 kB / 1.28 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02186/1.802, allocations: 5.208 MB / 1.286 GB, free: 173.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.549e-05/1.802, allocations: 19.44 kB / 1.286 GB, free: 173.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001745/1.802, allocations: 18.84 kB / 1.286 GB, free: 173.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.103e-05/1.802, allocations: 9.562 kB / 1.286 GB, free: 173.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04145/1.843, allocations: 9.68 MB / 1.295 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.231e-05/1.844, allocations: 5.938 kB / 1.295 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/1.845, allocations: 216.9 kB / 1.295 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01021/1.856, allocations: 1.854 MB / 1.297 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005958/1.856, allocations: 46.44 kB / 1.297 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05568/1.912, allocations: 37.46 MB / 1.334 GB, free: 139 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/1.912, allocations: 11.81 kB / 1.334 GB, free: 139 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/1.924, allocations: 4.92 MB / 1.339 GB, free: 136.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002414/1.927, allocations: 0.615 MB / 1.339 GB, free: 136.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000826/1.928, allocations: 35.84 kB / 1.339 GB, free: 136.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/1.93, allocations: 131.4 kB / 1.339 GB, free: 136.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009345/1.931, allocations: 191.5 kB / 1.339 GB, free: 136.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/1.931, allocations: 63.47 kB / 1.34 GB, free: 136.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003172/1.935, allocations: 1.374 MB / 1.341 GB, free: 135.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.21e-07/1.935, allocations: 0 / 1.341 GB, free: 135.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.007066/1.942, allocations: 1.047 MB / 1.342 GB, free: 135.4 MB / 1.014 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.01661/1.958, allocations: 5.535 MB / 1.347 GB, free: 131.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02097/1.979, allocations: 7.207 MB / 1.354 GB, free: 127 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.266e-05/1.979, allocations: 6.719 kB / 1.354 GB, free: 127 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01192/1.991, allocations: 4.4 MB / 1.359 GB, free: 122.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009471/2.001, allocations: 0.9825 MB / 1.36 GB, free: 121.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1131/2.114, allocations: 35.97 MB / 1.395 GB, free: 83.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005301/2.119, allocations: 3.123 MB / 1.398 GB, free: 79.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003276/2.123, allocations: 0.5217 MB / 1.398 GB, free: 79.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003219/2.126, allocations: 1.671 MB / 1.4 GB, free: 77.74 MB / 1.014 GB Notification: Performance of SimCode: time 1.573e-06/2.126, allocations: 0 / 1.4 GB, free: 77.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.343/2.469, allocations: 89.61 MB / 1.487 GB, free: 5.246 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003928/2.47, allocations: 248.4 kB / 1.488 GB, free: 4.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.084/9.554, allocations: 3.234 kB / 1.488 GB, free: 4.992 MB / 1.029 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