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.002121/0.002121, allocations: 108 kB / 15.61 MB, free: 152 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.002462/0.002462, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.37/1.37, 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 11.0.1-master/package.mo): time 2.651/2.651, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 62.59 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.271, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03248/0.3035, allocations: 30.77 MB / 1.083 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02322/0.3268, allocations: 13.59 MB / 1.096 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003332/0.3302, allocations: 151.2 kB / 1.096 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008259/0.3385, allocations: 3.192 MB / 1.099 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007834/0.3463, allocations: 2.661 MB / 1.102 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005429/0.3518, allocations: 2.01 MB / 1.104 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01028/0.3621, allocations: 7.618 MB / 1.111 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.3733, allocations: 8.287 MB / 1.12 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005573/0.3789, allocations: 3.404 MB / 1.123 GB, free: 276 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005433/0.3844, allocations: 3.379 MB / 1.126 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002103/0.3865, allocations: 0.5938 MB / 1.127 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/0.391, allocations: 1.498 MB / 1.128 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004608/0.3957, allocations: 2.366 MB / 1.131 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.007299/0.403, allocations: 2.878 MB / 1.133 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.414, allocations: 9.391 MB / 1.143 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.414, allocations: 0 / 1.143 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.183e-06/0.414, allocations: 0 / 1.143 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002602/0.4143, allocations: 0 / 1.143 GB, free: 12.11 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.01219/0.4265, allocations: 5.14 MB / 1.148 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.4265, allocations: 8.625 kB / 1.148 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001468/0.428, allocations: 0.6203 MB / 1.148 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006104/0.4341, allocations: 0.9902 MB / 1.149 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005377/0.4395, allocations: 2.9 MB / 1.152 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/0.4398, allocations: 312.8 kB / 1.152 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.4408, allocations: 431.8 kB / 1.153 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.4515, allocations: 6.787 MB / 1.159 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.784e-05/0.4516, allocations: 23.77 kB / 1.159 GB, free: 10.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004197/0.4521, allocations: 180 kB / 1.16 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008567/0.4529, allocations: 372 kB / 1.16 GB, free: 9.891 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008159/0.4611, allocations: 5.11 MB / 1.165 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0311/0.4922, allocations: 30.75 MB / 1.195 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.4943, allocations: 1.383 MB / 1.196 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.4959, allocations: 1.333 MB / 1.198 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.961e-05/0.496, allocations: 13.31 kB / 1.198 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.4961, allocations: 51.88 kB / 1.198 GB, free: 456 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=130): time 3.186e-06/0.4961, allocations: 4 kB / 1.198 GB, free: 452 kB / 0.9512 GB Notification: Performance of matching and sorting (n=199): time 0.08605/0.5822, allocations: 23.07 MB / 1.22 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.5822, allocations: 73.41 kB / 1.22 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.5846, allocations: 2.062 MB / 1.222 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.5847, allocations: 57.7 kB / 1.222 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.5861, allocations: 2.01 MB / 1.224 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006289/0.5867, allocations: 0.6739 MB / 1.225 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007082/0.5874, allocations: 416.1 kB / 1.225 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.5876, allocations: 305.1 kB / 1.226 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.5896, allocations: 1.437 MB / 1.227 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.592, allocations: 2.01 MB / 1.229 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/0.5963, allocations: 3.692 MB / 1.233 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.5963, allocations: 8 kB / 1.233 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009824/0.6061, allocations: 5.657 MB / 1.238 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.6062, allocations: 12 kB / 1.238 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.6062, allocations: 16.84 kB / 1.238 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006109/0.6123, allocations: 2.107 MB / 1.24 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.6136, allocations: 379.3 kB / 1.241 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5415/1.155, allocations: 38.44 MB / 1.278 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/1.158, allocations: 127.4 kB / 1.278 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/1.158, allocations: 92.88 kB / 1.278 GB, free: 175.1 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.002226/1.16, allocations: 1.505 MB / 1.28 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/1.16, allocations: 283.4 kB / 1.28 GB, free: 174.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.171, allocations: 5.214 MB / 1.285 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/1.171, allocations: 20.19 kB / 1.285 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.547e-05/1.171, allocations: 17.61 kB / 1.285 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/1.171, allocations: 10.41 kB / 1.285 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/1.188, allocations: 9.676 MB / 1.295 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.188, allocations: 8.562 kB / 1.295 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008374/1.189, allocations: 224.5 kB / 1.295 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005626/1.195, allocations: 1.851 MB / 1.297 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/1.195, allocations: 42.94 kB / 1.297 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02863/1.224, allocations: 37.46 MB / 1.333 GB, free: 139.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.224, allocations: 11.84 kB / 1.333 GB, free: 139.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007615/1.231, allocations: 4.919 MB / 1.338 GB, free: 137.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.232, allocations: 0.6116 MB / 1.339 GB, free: 137.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/1.233, allocations: 45.05 kB / 1.339 GB, free: 137.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/1.234, allocations: 131.1 kB / 1.339 GB, free: 137.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005356/1.235, allocations: 195.9 kB / 1.339 GB, free: 137 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.235, allocations: 55.44 kB / 1.339 GB, free: 137 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001535/1.236, allocations: 1.378 MB / 1.34 GB, free: 136.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.236, allocations: 0 / 1.34 GB, free: 136.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002788/1.239, allocations: 1.049 MB / 1.341 GB, free: 136.2 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.007366/1.246, allocations: 5.527 MB / 1.347 GB, free: 132.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01012/1.257, allocations: 7.217 MB / 1.354 GB, free: 128.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.257, allocations: 0 / 1.354 GB, free: 128.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005263/1.262, allocations: 4.395 MB / 1.358 GB, free: 123.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/1.265, allocations: 0.9954 MB / 1.359 GB, free: 122.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03707/1.302, allocations: 34.11 MB / 1.392 GB, free: 86.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/1.305, allocations: 3.124 MB / 1.396 GB, free: 83.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001546/1.306, allocations: 0.5303 MB / 1.396 GB, free: 82.53 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.307, allocations: 1.671 MB / 1.398 GB, free: 80.86 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/1.307, allocations: 0 / 1.398 GB, free: 80.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2341/1.542, allocations: 89.26 MB / 1.485 GB, free: 8.676 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.81, allocations: 3 kB / 1.485 GB, free: 8.676 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