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.002209/0.002209, 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.002393/0.002393, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.164/2.164, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.958/2.958, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 68.31 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.242, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007829/0.2499, allocations: 6.822 MB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004077/0.254, allocations: 3.056 MB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.2542, allocations: 23.81 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.2563, allocations: 0.9017 MB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007829/0.2571, allocations: 469.7 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008009/0.2579, allocations: 406.7 kB / 1.064 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.259, allocations: 1.232 MB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008092/0.2598, allocations: 0.7328 MB / 1.066 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005469/0.2604, allocations: 482.2 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/0.261, allocations: 0.5409 MB / 1.067 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.223e-05/0.261, allocations: 68 kB / 1.067 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.2615, allocations: 371.3 kB / 1.067 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.2618, allocations: 311.2 kB / 1.067 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.2621, allocations: 457.7 kB / 1.068 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.2632, allocations: 1.23 MB / 1.069 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2632, allocations: 0 / 1.069 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2632, allocations: 3.938 kB / 1.069 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.2632, allocations: 4 kB / 1.069 GB, free: 7.555 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.001643/0.2649, allocations: 1.169 MB / 1.07 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2649, allocations: 12.62 kB / 1.07 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.2651, allocations: 114.7 kB / 1.07 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.2664, allocations: 239.6 kB / 1.071 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.2672, allocations: 0.553 MB / 1.071 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.2672, allocations: 49.67 kB / 1.071 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.2673, allocations: 64.28 kB / 1.071 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.2687, allocations: 1.089 MB / 1.072 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.2687, allocations: 3.938 kB / 1.072 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.2688, allocations: 32 kB / 1.072 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.2689, allocations: 85.25 kB / 1.072 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.2701, allocations: 0.7543 MB / 1.073 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004843/0.2749, allocations: 5.893 MB / 1.079 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008588/0.2758, allocations: 0.56 MB / 1.079 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.2762, allocations: 326 kB / 1.08 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.2762, allocations: 4.438 kB / 1.08 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2763, allocations: 39 kB / 1.08 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 1.663e-06/0.2763, allocations: 0 / 1.08 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003411/0.2797, allocations: 1.986 MB / 1.082 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.2797, allocations: 59.78 kB / 1.082 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.2803, allocations: 0.5625 MB / 1.082 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.2804, allocations: 37.7 kB / 1.082 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.2806, allocations: 422.8 kB / 1.083 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2808, allocations: 169.6 kB / 1.083 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.2809, allocations: 130.5 kB / 1.083 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2811, allocations: 378.7 kB / 1.083 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.2814, allocations: 273.8 kB / 1.084 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.2819, allocations: 493 kB / 1.084 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009404/0.2829, allocations: 0.8094 MB / 1.085 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2829, allocations: 0 / 1.085 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001582/0.2845, allocations: 1.082 MB / 1.086 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.2845, allocations: 13.39 kB / 1.086 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2845, allocations: 12.81 kB / 1.086 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007586/0.2853, allocations: 283.2 kB / 1.086 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.2857, allocations: 127.8 kB / 1.086 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.2915, allocations: 7.142 MB / 1.093 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.292, allocations: 40.03 kB / 1.093 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.292, allocations: 31.98 kB / 1.093 GB, free: 13 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.0003101/0.2923, allocations: 251.1 kB / 1.094 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.2925, allocations: 75.16 kB / 1.094 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.2938, allocations: 0.8886 MB / 1.095 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2938, allocations: 4 kB / 1.095 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2938, allocations: 4 kB / 1.095 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2938, allocations: 0 / 1.095 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.2962, allocations: 1.728 MB / 1.096 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2962, allocations: 192 / 1.096 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.2964, allocations: 67.83 kB / 1.096 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006519/0.2971, allocations: 267.2 kB / 1.097 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.2972, allocations: 11.98 kB / 1.097 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/0.3025, allocations: 7.126 MB / 1.104 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3025, allocations: 0 / 1.104 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3038, allocations: 0.9834 MB / 1.105 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.304, allocations: 196.2 kB / 1.105 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.073e-05/0.3041, allocations: 11.94 kB / 1.105 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.3044, allocations: 43.78 kB / 1.105 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.3045, allocations: 43.94 kB / 1.105 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.3046, allocations: 8 kB / 1.105 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003536/0.3049, allocations: 395 kB / 1.105 GB, free: 168 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3049, allocations: 0 / 1.105 GB, free: 168 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006303/0.3056, allocations: 224 kB / 1.105 GB, free: 15.94 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.001499/0.3071, allocations: 1.544 MB / 1.107 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.3088, allocations: 1.334 MB / 1.108 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3088, allocations: 0 / 1.108 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.3099, allocations: 0.8932 MB / 1.109 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/0.3107, allocations: 225.2 kB / 1.109 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007422/0.3182, allocations: 6.835 MB / 1.116 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.3187, allocations: 1.013 MB / 1.117 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003615/0.3191, allocations: 130 kB / 1.117 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.3193, allocations: 251.4 kB / 1.117 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.3193, allocations: 0 / 1.117 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.294/4.614, allocations: 17.23 MB / 1.134 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/4.614, allocations: 243.1 kB / 1.134 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.587/8.201, allocations: 4 kB / 1.134 GB, free: 2.074 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