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.002132/0.002132, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002436/0.002436, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.713/1.713, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.252/3.252, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 73.83 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2275, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007749/0.2353, allocations: 6.171 MB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004644/0.2399, allocations: 3.153 MB / 1.062 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.2404, allocations: 27.81 kB / 1.062 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.2426, allocations: 0.8867 MB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009838/0.2436, allocations: 442 kB / 1.063 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.2446, allocations: 465.9 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.2457, allocations: 1.096 MB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000882/0.2466, allocations: 0.7094 MB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.2472, allocations: 446.2 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005915/0.2478, allocations: 0.4903 MB / 1.066 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.2479, allocations: 60 kB / 1.066 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006741/0.2486, allocations: 483 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.2488, allocations: 287.2 kB / 1.067 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.2492, allocations: 405.9 kB / 1.067 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.2503, allocations: 1.207 MB / 1.068 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2503, allocations: 0 / 1.068 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2503, allocations: 0 / 1.068 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.072e-05/0.2504, allocations: 4 kB / 1.068 GB, free: 8.32 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001489/0.2519, allocations: 1.056 MB / 1.069 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2519, allocations: 12.62 kB / 1.069 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.252, allocations: 114.7 kB / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.2534, allocations: 223.5 kB / 1.07 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.2541, allocations: 0.5414 MB / 1.07 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.2541, allocations: 49.67 kB / 1.07 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/0.2542, allocations: 60.36 kB / 1.07 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.2555, allocations: 1.03 MB / 1.071 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.2555, allocations: 15.83 kB / 1.071 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.2556, allocations: 27.98 kB / 1.071 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.526e-05/0.2557, allocations: 69.28 kB / 1.071 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009587/0.2566, allocations: 0.6918 MB / 1.072 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004267/0.2609, allocations: 5.753 MB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.2616, allocations: 0.5919 MB / 1.078 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006767/0.2623, allocations: 424.5 kB / 1.079 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.2624, allocations: 7.938 kB / 1.079 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.2624, allocations: 38.56 kB / 1.079 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.573e-06/0.2624, allocations: 4 kB / 1.079 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.003833/0.2662, allocations: 2.057 MB / 1.081 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.2663, allocations: 55.41 kB / 1.081 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.2667, allocations: 462.8 kB / 1.081 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.2667, allocations: 29.7 kB / 1.081 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.267, allocations: 391 kB / 1.082 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.2671, allocations: 153.9 kB / 1.082 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.2672, allocations: 114.2 kB / 1.082 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2674, allocations: 366.8 kB / 1.082 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.2677, allocations: 241.2 kB / 1.082 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.2681, allocations: 461 kB / 1.083 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008135/0.269, allocations: 0.7556 MB / 1.084 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.269, allocations: 4 kB / 1.084 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001678/0.2707, allocations: 1.066 MB / 1.085 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2707, allocations: 8.938 kB / 1.085 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2707, allocations: 8 kB / 1.085 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009462/0.2716, allocations: 331.5 kB / 1.085 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.2719, allocations: 103.8 kB / 1.085 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006359/0.2783, allocations: 7.517 MB / 1.092 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.2786, allocations: 24.03 kB / 1.092 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.2787, allocations: 28 kB / 1.093 GB, free: 13.89 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.0002511/0.2789, allocations: 249.5 kB / 1.093 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.279, allocations: 63.25 kB / 1.093 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.2805, allocations: 0.9078 MB / 1.094 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2806, allocations: 8 kB / 1.094 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2806, allocations: 7.984 kB / 1.094 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.2806, allocations: 0 / 1.094 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.2829, allocations: 1.716 MB / 1.095 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2829, allocations: 4 kB / 1.095 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.2831, allocations: 39.91 kB / 1.095 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008844/0.284, allocations: 331.6 kB / 1.096 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.284, allocations: 12 kB / 1.096 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006211/0.2902, allocations: 7.501 MB / 1.103 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2902, allocations: 4 kB / 1.103 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.2917, allocations: 1.012 MB / 1.104 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.2919, allocations: 172.3 kB / 1.104 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.367e-05/0.292, allocations: 8 kB / 1.104 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.2922, allocations: 27.97 kB / 1.104 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.2923, allocations: 39.89 kB / 1.104 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.2924, allocations: 12 kB / 1.104 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002829/0.2927, allocations: 318.8 kB / 1.105 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.2927, allocations: 0 / 1.105 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000608/0.2933, allocations: 192 kB / 1.105 GB, free: 0.5352 MB / 0.8575 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.001714/0.295, allocations: 1.564 MB / 1.106 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.2967, allocations: 1.258 MB / 1.108 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2967, allocations: 0 / 1.108 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.2977, allocations: 0.866 MB / 1.108 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.2986, allocations: 211.4 kB / 1.109 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007432/0.306, allocations: 6.281 MB / 1.115 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.3066, allocations: 0.9921 MB / 1.116 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002767/0.3069, allocations: 97.19 kB / 1.116 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.3072, allocations: 227.4 kB / 1.116 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.3072, allocations: 0 / 1.116 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.388/3.695, allocations: 15.28 MB / 1.131 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/3.695, allocations: 245 kB / 1.131 GB, free: 5.328 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.471/8.166, allocations: 0 / 1.131 GB, free: 5.328 MB / 0.8887 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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