Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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_L,fileNamePrefix="Buildings_11_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_11_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.00146/0.00146, 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.001485/0.001485, allocations: 193.9 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.469/2.469, allocations: 469.8 MB / 0.7424 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 68.52 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2335, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00788/0.2415, allocations: 6.142 MB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004366/0.2458, allocations: 3.184 MB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.246, allocations: 31.81 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.2482, allocations: 0.9267 MB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007445/0.2489, allocations: 477.5 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009163/0.2499, allocations: 0.4973 MB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.251, allocations: 1.096 MB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008052/0.2518, allocations: 0.6391 MB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.2522, allocations: 434.4 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.2528, allocations: 482 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.648e-05/0.2528, allocations: 60 kB / 1.078 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006845/0.2535, allocations: 491 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.2538, allocations: 283.2 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000414/0.2542, allocations: 405.9 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.2553, allocations: 1.172 MB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2553, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2554, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.2554, allocations: 4 kB / 1.08 GB, free: 13.86 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.00147/0.2568, allocations: 1.052 MB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.2569, allocations: 12.03 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.257, allocations: 110.7 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.2584, allocations: 231.6 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007191/0.2591, allocations: 0.5376 MB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.2591, allocations: 45.67 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.2592, allocations: 68.36 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.2607, allocations: 1.03 MB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.2607, allocations: 15.84 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/0.2608, allocations: 27.98 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.273e-05/0.2609, allocations: 69.27 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000997/0.2619, allocations: 0.6918 MB / 1.084 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005121/0.267, allocations: 5.756 MB / 1.089 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008099/0.2678, allocations: 0.5943 MB / 1.09 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007458/0.2686, allocations: 424.5 kB / 1.09 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.2686, allocations: 4 kB / 1.09 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.2687, allocations: 34.55 kB / 1.09 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 3.166e-06/0.2687, allocations: 0 / 1.09 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004113/0.2728, allocations: 2.057 MB / 1.092 GB, free: 332 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.2728, allocations: 59.41 kB / 1.092 GB, free: 260 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.2733, allocations: 462.8 kB / 1.093 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.2733, allocations: 33.7 kB / 1.093 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.2736, allocations: 387 kB / 1.093 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.2737, allocations: 149.9 kB / 1.093 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.2739, allocations: 114.2 kB / 1.094 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2741, allocations: 362.8 kB / 1.094 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.2744, allocations: 249.2 kB / 1.094 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.2749, allocations: 457 kB / 1.095 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009329/0.2759, allocations: 0.7556 MB / 1.095 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2759, allocations: 0 / 1.095 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001796/0.2777, allocations: 1.07 MB / 1.096 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2777, allocations: 13.66 kB / 1.096 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.2777, allocations: 8 kB / 1.096 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009574/0.2787, allocations: 335.1 kB / 1.097 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.279, allocations: 95.83 kB / 1.097 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007225/0.2862, allocations: 7.525 MB / 1.104 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.2865, allocations: 32.02 kB / 1.104 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.2866, allocations: 24 kB / 1.104 GB, free: 3.422 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.0002676/0.2869, allocations: 249.5 kB / 1.104 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.287, allocations: 55.34 kB / 1.105 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.2886, allocations: 0.9198 MB / 1.105 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2886, allocations: 4.281 kB / 1.105 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2886, allocations: 4 kB / 1.105 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.2886, allocations: 3.984 kB / 1.105 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.2912, allocations: 1.712 MB / 1.107 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2912, allocations: 0 / 1.107 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.2913, allocations: 36.16 kB / 1.107 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009103/0.2923, allocations: 335.2 kB / 1.107 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.2923, allocations: 11.92 kB / 1.107 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007092/0.2994, allocations: 7.518 MB / 1.115 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2994, allocations: 4 kB / 1.115 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.301, allocations: 0.9956 MB / 1.116 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.3012, allocations: 176.3 kB / 1.116 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/0.3013, allocations: 11.98 kB / 1.116 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.3016, allocations: 23.98 kB / 1.116 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.3017, allocations: 39.94 kB / 1.116 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.3017, allocations: 20.22 kB / 1.116 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003075/0.302, allocations: 314.8 kB / 1.116 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.302, allocations: 0 / 1.116 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005985/0.3026, allocations: 199.9 kB / 1.117 GB, free: 6.059 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.001893/0.3045, allocations: 1.562 MB / 1.118 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.3063, allocations: 1.241 MB / 1.119 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3063, allocations: 0 / 1.119 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.3075, allocations: 0.8704 MB / 1.12 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/0.3084, allocations: 212.9 kB / 1.12 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00759/0.316, allocations: 6 MB / 1.126 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.3166, allocations: 0.9921 MB / 1.127 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002501/0.3169, allocations: 93.2 kB / 1.127 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.3172, allocations: 231.3 kB / 1.127 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of SimCode: time 2.2e-07/0.3172, allocations: 0 / 1.127 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3128/0.63, allocations: 15.29 MB / 1.142 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13, allocations: 22.58 kB / 1.142 GB, free: 11.32 MB / 0.9044 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches