Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.001386/0.001386, allocations: 108 kB / 15.6 MB, free: 132 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.001603/0.001603, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.351/1.351, 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.0.1-master/package.mo): time 2.744/2.744, allocations: 469.4 MB / 0.742 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 66.58 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.28, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008418/0.2885, allocations: 6.153 MB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005736/0.2942, allocations: 3.176 MB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007008/0.295, allocations: 31.81 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/0.2977, allocations: 0.9243 MB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.299, allocations: 481.5 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3003, allocations: 0.501 MB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.3017, allocations: 1.088 MB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009713/0.3027, allocations: 0.6391 MB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000737/0.3035, allocations: 442.3 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006857/0.3042, allocations: 478.1 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.3043, allocations: 60 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008723/0.3052, allocations: 494.9 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.3055, allocations: 279.2 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004724/0.306, allocations: 405.9 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.3074, allocations: 1.164 MB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3074, allocations: 0 / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3074, allocations: 0 / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.048e-05/0.3074, allocations: 0 / 1.08 GB, free: 14.17 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001745/0.3092, allocations: 1.061 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3092, allocations: 12.03 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.3094, allocations: 122.6 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.3109, allocations: 231.6 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007773/0.3117, allocations: 0.5298 MB / 1.081 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.3118, allocations: 45.67 kB / 1.081 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.3119, allocations: 68.36 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.3133, allocations: 1.03 MB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.3133, allocations: 11.91 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/0.3134, allocations: 27.98 kB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-05/0.3135, allocations: 69.27 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.3145, allocations: 0.6956 MB / 1.083 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/0.3194, allocations: 5.752 MB / 1.089 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008593/0.3203, allocations: 0.6038 MB / 1.09 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.3211, allocations: 416.6 kB / 1.09 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.3211, allocations: 7.938 kB / 1.09 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3212, allocations: 34.56 kB / 1.09 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/0.3212, allocations: 0 / 1.09 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004643/0.3258, allocations: 2.053 MB / 1.092 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3259, allocations: 55.41 kB / 1.092 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.3264, allocations: 470.8 kB / 1.093 GB, free: 96 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3264, allocations: 33.7 kB / 1.093 GB, free: 56 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.3267, allocations: 387 kB / 1.093 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3268, allocations: 149.9 kB / 1.093 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.327, allocations: 114.2 kB / 1.093 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3271, allocations: 366.8 kB / 1.094 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.3275, allocations: 245.2 kB / 1.094 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.328, allocations: 457 kB / 1.094 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008969/0.3289, allocations: 0.7634 MB / 1.095 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3289, allocations: 0 / 1.095 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001914/0.3308, allocations: 1.066 MB / 1.096 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3308, allocations: 12.12 kB / 1.096 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.3309, allocations: 8 kB / 1.096 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.3319, allocations: 327.1 kB / 1.096 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.3323, allocations: 103.8 kB / 1.096 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/0.3395, allocations: 7.521 MB / 1.104 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.34, allocations: 32.02 kB / 1.104 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.34, allocations: 28 kB / 1.104 GB, free: 3.715 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003384/0.3404, allocations: 246.1 kB / 1.104 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.3405, allocations: 59.34 kB / 1.104 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.3422, allocations: 0.9198 MB / 1.105 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3422, allocations: 4 kB / 1.105 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3423, allocations: 4 kB / 1.105 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3423, allocations: 4.266 kB / 1.105 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.3449, allocations: 1.704 MB / 1.107 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3449, allocations: 0 / 1.107 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.3451, allocations: 51.84 kB / 1.107 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009652/0.3461, allocations: 331.3 kB / 1.107 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.3461, allocations: 11.98 kB / 1.107 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007139/0.3532, allocations: 7.516 MB / 1.114 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3533, allocations: 0 / 1.114 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.355, allocations: 1.001 MB / 1.115 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.3552, allocations: 176.3 kB / 1.116 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/0.3553, allocations: 11.98 kB / 1.116 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.3556, allocations: 19.98 kB / 1.116 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3557, allocations: 43.88 kB / 1.116 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.3558, allocations: 20 kB / 1.116 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003415/0.3561, allocations: 310.8 kB / 1.116 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3561, allocations: 288 / 1.116 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007806/0.3569, allocations: 196 kB / 1.116 GB, free: 6.359 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001881/0.3588, allocations: 1.567 MB / 1.118 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.3607, allocations: 1.242 MB / 1.119 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3607, allocations: 0 / 1.119 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.3619, allocations: 0.8701 MB / 1.12 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.363, allocations: 216.9 kB / 1.12 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/0.3709, allocations: 5.995 MB / 1.126 GB, free: 12 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.3714, allocations: 0.9921 MB / 1.127 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002936/0.3717, allocations: 97.19 kB / 1.127 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.372, allocations: 231.3 kB / 1.127 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/0.372, allocations: 0 / 1.127 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04251/0.4145, allocations: 15.29 MB / 1.142 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.12/9.534, allocations: 10.2 kB / 1.142 GB, free: 11.62 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_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_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches