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.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.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.001598/0.001598, 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.001979/0.001979, allocations: 194.6 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.842/2.842, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 58.92 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2781, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008165/0.2863, allocations: 6.812 MB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004642/0.291, allocations: 3.063 MB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.2915, allocations: 27.81 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.2939, allocations: 0.9448 MB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.2951, allocations: 0.505 MB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.2961, allocations: 447 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.2974, allocations: 1.232 MB / 1.076 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000907/0.2983, allocations: 0.6625 MB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006254/0.299, allocations: 470.3 kB / 1.077 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.2997, allocations: 0.5214 MB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.2998, allocations: 64 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006802/0.3005, allocations: 379.3 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.3008, allocations: 315.2 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004366/0.3012, allocations: 453.7 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.3024, allocations: 1.203 MB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3024, allocations: 0 / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3024, allocations: 0 / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.315e-05/0.3024, allocations: 0 / 1.08 GB, free: 13.38 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.001843/0.3043, allocations: 1.165 MB / 1.081 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3043, allocations: 12.03 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.3045, allocations: 126.7 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.306, allocations: 235.6 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007761/0.3068, allocations: 0.5568 MB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.3069, allocations: 53.67 kB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.813e-05/0.307, allocations: 64.36 kB / 1.082 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.3084, allocations: 1.085 MB / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.3084, allocations: 3.938 kB / 1.084 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.295e-05/0.3085, allocations: 39.97 kB / 1.084 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.3086, allocations: 85.25 kB / 1.084 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.3098, allocations: 0.7465 MB / 1.084 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005073/0.3149, allocations: 5.889 MB / 1.09 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009662/0.3159, allocations: 0.5554 MB / 1.091 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.3164, allocations: 336.3 kB / 1.091 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.3164, allocations: 4.438 kB / 1.091 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.3164, allocations: 42.98 kB / 1.091 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.023e-06/0.3164, allocations: 4 kB / 1.091 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003856/0.3203, allocations: 1.978 MB / 1.093 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.3203, allocations: 55.84 kB / 1.093 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005933/0.321, allocations: 0.5665 MB / 1.094 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.321, allocations: 33.7 kB / 1.094 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.3213, allocations: 418.9 kB / 1.094 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.3214, allocations: 173.6 kB / 1.094 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.3216, allocations: 126.5 kB / 1.094 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3217, allocations: 378.7 kB / 1.095 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.3222, allocations: 269.8 kB / 1.095 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.3228, allocations: 497 kB / 1.095 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3238, allocations: 0.821 MB / 1.096 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3238, allocations: 0 / 1.096 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001889/0.3257, allocations: 1.087 MB / 1.097 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3257, allocations: 8 kB / 1.097 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.3257, allocations: 8 kB / 1.097 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008354/0.3266, allocations: 279.2 kB / 1.098 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.3271, allocations: 127.8 kB / 1.098 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.3334, allocations: 7.146 MB / 1.105 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.3341, allocations: 35.97 kB / 1.105 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.3342, allocations: 28 kB / 1.105 GB, free: 2.824 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.0003538/0.3345, allocations: 262.1 kB / 1.105 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.3347, allocations: 71.16 kB / 1.105 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3362, allocations: 0.8847 MB / 1.106 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3362, allocations: 4 kB / 1.106 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3362, allocations: 8 kB / 1.106 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3362, allocations: 3.984 kB / 1.106 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.3388, allocations: 1.728 MB / 1.108 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3388, allocations: 3.938 kB / 1.108 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.3391, allocations: 56.08 kB / 1.108 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007471/0.3399, allocations: 275.3 kB / 1.108 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.3399, allocations: 12 kB / 1.108 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00601/0.3459, allocations: 7.131 MB / 1.115 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3459, allocations: 0 / 1.115 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.3474, allocations: 0.9952 MB / 1.116 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.3477, allocations: 188.2 kB / 1.116 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.795e-05/0.3478, allocations: 19.92 kB / 1.116 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.3482, allocations: 27.97 kB / 1.116 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.3483, allocations: 43.83 kB / 1.116 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.3483, allocations: 16 kB / 1.116 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004143/0.3488, allocations: 395.1 kB / 1.117 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3488, allocations: 0 / 1.117 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007769/0.3495, allocations: 224 kB / 1.117 GB, free: 5.758 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.0017/0.3513, allocations: 1.536 MB / 1.118 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002013/0.3533, allocations: 1.334 MB / 1.12 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3533, allocations: 0 / 1.12 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.3545, allocations: 0.8933 MB / 1.12 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3556, allocations: 220.2 kB / 1.121 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00818/0.3637, allocations: 6.553 MB / 1.127 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.3643, allocations: 1.013 MB / 1.128 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000405/0.3647, allocations: 122 kB / 1.128 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.365, allocations: 266.2 kB / 1.128 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of SimCode: time 3.11e-07/0.365, allocations: 0 / 1.128 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04498/0.41, allocations: 17.25 MB / 1.145 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.413/9.823, allocations: 7.844 kB / 1.145 GB, free: 8.363 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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