Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.0008273/0.0008273, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005229/0.005229, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.579/2.579, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 8.656 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007754/0.303, allocations: 6.387 MB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005014/0.308, allocations: 3.044 MB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000747/0.3088, allocations: 27.81 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005676/0.3094, allocations: 134.9 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.3109, allocations: 473.7 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.3122, allocations: 414.3 kB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002001/0.3142, allocations: 1.591 MB / 1.071 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.3161, allocations: 1.012 MB / 1.072 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008249/0.3169, allocations: 390.3 kB / 1.072 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009161/0.3178, allocations: 0.4941 MB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.318, allocations: 36 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009699/0.319, allocations: 447.1 kB / 1.073 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.3194, allocations: 271.1 kB / 1.073 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006597/0.32, allocations: 427.5 kB / 1.074 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.3215, allocations: 1.187 MB / 1.075 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3215, allocations: 0 / 1.075 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.11e-07/0.3215, allocations: 0 / 1.075 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.147e-05/0.3216, allocations: 0 / 1.075 GB, free: 4.488 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001952/0.3235, allocations: 1.005 MB / 1.076 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3236, allocations: 15.95 kB / 1.076 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.3238, allocations: 118.7 kB / 1.076 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.3254, allocations: 247.5 kB / 1.076 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009102/0.3264, allocations: 0.5568 MB / 1.077 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.3264, allocations: 53.67 kB / 1.077 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.3266, allocations: 56.38 kB / 1.077 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.3282, allocations: 1.085 MB / 1.078 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.3283, allocations: 3.938 kB / 1.078 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.558e-05/0.3283, allocations: 39.98 kB / 1.078 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/0.3285, allocations: 85.25 kB / 1.078 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.3298, allocations: 0.7504 MB / 1.079 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005701/0.3355, allocations: 5.897 MB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009726/0.3365, allocations: 0.5546 MB / 1.085 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.337, allocations: 334 kB / 1.085 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.337, allocations: 4.438 kB / 1.085 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.3371, allocations: 46.98 kB / 1.085 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/0.3371, allocations: 0 / 1.085 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003879/0.341, allocations: 2.002 MB / 1.087 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.341, allocations: 59.84 kB / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.3417, allocations: 0.5587 MB / 1.088 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.3418, allocations: 37.7 kB / 1.088 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.3421, allocations: 414.9 kB / 1.088 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.3422, allocations: 169.6 kB / 1.088 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.3423, allocations: 57.69 kB / 1.088 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3425, allocations: 382.7 kB / 1.089 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.3429, allocations: 277.8 kB / 1.089 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.3435, allocations: 493 kB / 1.09 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.3445, allocations: 0.8054 MB / 1.09 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3446, allocations: 4 kB / 1.09 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001862/0.3464, allocations: 1.086 MB / 1.091 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3465, allocations: 8 kB / 1.091 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3465, allocations: 8 kB / 1.091 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008126/0.3473, allocations: 279.9 kB / 1.092 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.3478, allocations: 123.8 kB / 1.092 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006351/0.3541, allocations: 6.61 MB / 1.098 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.3547, allocations: 36.16 kB / 1.098 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.3547, allocations: 32 kB / 1.098 GB, free: 10.7 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0003221/0.3551, allocations: 253.5 kB / 1.099 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3552, allocations: 75.16 kB / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.3567, allocations: 0.8964 MB / 1.1 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3567, allocations: 4 kB / 1.1 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.3567, allocations: 4 kB / 1.1 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3567, allocations: 3.984 kB / 1.1 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.3593, allocations: 1.728 MB / 1.101 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3593, allocations: 0 / 1.101 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.3595, allocations: 63.89 kB / 1.101 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007256/0.3603, allocations: 263.3 kB / 1.102 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.3603, allocations: 12 kB / 1.102 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005838/0.3662, allocations: 6.595 MB / 1.108 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3662, allocations: 3.938 kB / 1.108 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.3677, allocations: 0.9838 MB / 1.109 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.368, allocations: 196.2 kB / 1.109 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.3681, allocations: 15.94 kB / 1.109 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.3684, allocations: 27.97 kB / 1.109 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3685, allocations: 43.88 kB / 1.109 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.3686, allocations: 12.19 kB / 1.109 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004323/0.369, allocations: 395.1 kB / 1.11 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/0.369, allocations: 0 / 1.11 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007862/0.3698, allocations: 224 kB / 1.11 GB, free: 14.2 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001754/0.3716, allocations: 1.544 MB / 1.111 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001915/0.3735, allocations: 1.271 MB / 1.113 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3735, allocations: 8.062 kB / 1.113 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.3748, allocations: 0.8969 MB / 1.113 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.3759, allocations: 201.4 kB / 1.114 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008818/0.3848, allocations: 6.861 MB / 1.12 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.3854, allocations: 1.013 MB / 1.121 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004228/0.3859, allocations: 134 kB / 1.121 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.3862, allocations: 247.4 kB / 1.122 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of SimCode: time 2.916e-06/0.3862, allocations: 0 / 1.122 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/0.4252, allocations: 16.45 MB / 1.138 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003112/0.4256, allocations: 248.8 kB / 1.138 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/2.517, allocations: 2.812 kB / 1.138 GB, free: 1.148 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches