Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_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_11_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.001594/0.001594, 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.001718/0.001718, allocations: 194.2 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.675/2.675, allocations: 469.8 MB / 0.7424 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 65.91 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2624, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009096/0.2716, allocations: 6.81 MB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005065/0.2767, allocations: 3.059 MB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005691/0.2773, allocations: 31.81 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.2797, allocations: 0.9424 MB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.281, allocations: 0.5011 MB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.282, allocations: 449 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.2835, allocations: 1.232 MB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009878/0.2845, allocations: 0.6664 MB / 1.077 GB, free: 440 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007267/0.2853, allocations: 470.5 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007839/0.2861, allocations: 0.5213 MB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.2862, allocations: 64 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007282/0.2869, allocations: 387.2 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.2872, allocations: 307.2 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.2877, allocations: 453.7 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.2889, allocations: 1.191 MB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2889, allocations: 11.88 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2889, allocations: 0 / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.2889, allocations: 0 / 1.081 GB, free: 13.05 MB / 0.8419 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.001792/0.2907, allocations: 1.161 MB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2908, allocations: 12.03 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.2909, allocations: 122.7 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.2924, allocations: 235.6 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/0.2932, allocations: 0.5568 MB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.2932, allocations: 53.67 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/0.2933, allocations: 60.36 kB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.2948, allocations: 1.097 MB / 1.084 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.2948, allocations: 3.938 kB / 1.084 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/0.2949, allocations: 35.98 kB / 1.084 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.295, allocations: 85.25 kB / 1.084 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2961, allocations: 0.7465 MB / 1.085 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005188/0.3013, allocations: 5.901 MB / 1.091 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009367/0.3023, allocations: 0.5476 MB / 1.091 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.3027, allocations: 335.6 kB / 1.091 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3028, allocations: 4.438 kB / 1.091 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.3028, allocations: 39 kB / 1.091 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 1.923e-06/0.3028, allocations: 0 / 1.091 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003629/0.3064, allocations: 1.99 MB / 1.093 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3065, allocations: 55.84 kB / 1.093 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/0.3071, allocations: 0.5548 MB / 1.094 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.3071, allocations: 37.7 kB / 1.094 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.3074, allocations: 418.8 kB / 1.094 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.3076, allocations: 173.6 kB / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.3077, allocations: 122.5 kB / 1.095 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3079, allocations: 382.7 kB / 1.095 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.3083, allocations: 273.8 kB / 1.095 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/0.3089, allocations: 496.9 kB / 1.096 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.3099, allocations: 0.8132 MB / 1.097 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3099, allocations: 0 / 1.097 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001733/0.3117, allocations: 1.094 MB / 1.098 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3117, allocations: 8 kB / 1.098 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3117, allocations: 8 kB / 1.098 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007842/0.3125, allocations: 279.9 kB / 1.098 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.313, allocations: 131.7 kB / 1.098 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006565/0.3195, allocations: 7.13 MB / 1.105 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.3201, allocations: 40.14 kB / 1.105 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.3201, allocations: 36.06 kB / 1.105 GB, free: 2.492 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.0003249/0.3204, allocations: 253.5 kB / 1.105 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3206, allocations: 75.16 kB / 1.105 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.3221, allocations: 0.8886 MB / 1.106 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3221, allocations: 4.047 kB / 1.106 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3221, allocations: 7.984 kB / 1.106 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.3221, allocations: 3.984 kB / 1.106 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.3246, allocations: 1.724 MB / 1.108 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3246, allocations: 3.938 kB / 1.108 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.3249, allocations: 63.89 kB / 1.108 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007181/0.3256, allocations: 271.3 kB / 1.108 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.3257, allocations: 12 kB / 1.108 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006723/0.3324, allocations: 7.123 MB / 1.115 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3324, allocations: 0 / 1.115 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.334, allocations: 0.9913 MB / 1.116 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.3343, allocations: 196.2 kB / 1.116 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.3344, allocations: 15.94 kB / 1.116 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.3348, allocations: 28.14 kB / 1.116 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3349, allocations: 47.95 kB / 1.117 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.335, allocations: 15.94 kB / 1.117 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004459/0.3354, allocations: 395.1 kB / 1.117 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3354, allocations: 0 / 1.117 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007465/0.3362, allocations: 223.9 kB / 1.117 GB, free: 5.426 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.001803/0.338, allocations: 1.544 MB / 1.119 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.34, allocations: 1.334 MB / 1.12 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3401, allocations: 3.938 kB / 1.12 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.3413, allocations: 0.8855 MB / 1.121 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3423, allocations: 214.7 kB / 1.121 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008441/0.3508, allocations: 6.554 MB / 1.127 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.3514, allocations: 1.009 MB / 1.128 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004266/0.3519, allocations: 126 kB / 1.129 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.3522, allocations: 255.3 kB / 1.129 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of SimCode: time 8.62e-07/0.3522, allocations: 0 / 1.129 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.093/3.446, allocations: 17.24 MB / 1.146 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.78/21.23, allocations: 12.69 kB / 1.146 GB, free: 8.047 MB / 0.9044 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches