Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001474/0.001474, 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.001714/0.001714, allocations: 198 kB / 16.54 MB, free: 6.672 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.619/0.6203, allocations: 151.6 MB / 1.017 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009004/0.6294, allocations: 6.156 MB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005538/0.6349, allocations: 3.176 MB / 1.027 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000648/0.6356, allocations: 27.81 kB / 1.027 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.6382, allocations: 0.9337 MB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.6397, allocations: 469.5 kB / 1.028 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.6411, allocations: 0.5011 MB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001654/0.6427, allocations: 1.1 MB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.6439, allocations: 0.6449 MB / 1.03 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000841/0.6447, allocations: 430.4 kB / 1.031 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008677/0.6456, allocations: 482.1 kB / 1.031 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.6458, allocations: 56 kB / 1.031 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.6469, allocations: 483 kB / 1.031 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003932/0.6473, allocations: 283.3 kB / 1.032 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005975/0.6479, allocations: 405.9 kB / 1.032 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.6496, allocations: 1.172 MB / 1.033 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6496, allocations: 4 kB / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6496, allocations: 0 / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.46e-05/0.6496, allocations: 0 / 1.033 GB, free: 2.281 MB / 0.7794 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.002267/0.6519, allocations: 1.057 MB / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.652, allocations: 15.97 kB / 1.034 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.6522, allocations: 118.7 kB / 1.034 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.6538, allocations: 215.7 kB / 1.035 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009754/0.6548, allocations: 0.5452 MB / 1.035 GB, free: 240 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.6548, allocations: 49.67 kB / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.6549, allocations: 60.36 kB / 1.035 GB, free: 132 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.6565, allocations: 1.034 MB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.6565, allocations: 7.938 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/0.6566, allocations: 27.98 kB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.54e-05/0.6567, allocations: 73.27 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.6579, allocations: 0.6879 MB / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00585/0.6637, allocations: 5.752 MB / 1.043 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009606/0.6647, allocations: 0.6002 MB / 1.043 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008826/0.6656, allocations: 426.4 kB / 1.044 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.6657, allocations: 4.688 kB / 1.044 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.6657, allocations: 38.56 kB / 1.044 GB, free: 6.895 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 2.715e-06/0.6657, allocations: 0 / 1.044 GB, free: 6.895 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004699/0.6704, allocations: 2.061 MB / 1.046 GB, free: 4.738 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.6705, allocations: 59.34 kB / 1.046 GB, free: 4.668 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.6712, allocations: 470.7 kB / 1.046 GB, free: 4.199 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.6712, allocations: 29.7 kB / 1.046 GB, free: 4.164 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.6715, allocations: 391 kB / 1.047 GB, free: 3.773 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.6717, allocations: 142 kB / 1.047 GB, free: 3.633 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.6719, allocations: 114.1 kB / 1.047 GB, free: 3.516 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002474/0.6722, allocations: 366.8 kB / 1.047 GB, free: 3.148 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.6725, allocations: 245.2 kB / 1.047 GB, free: 2.91 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.673, allocations: 457 kB / 1.048 GB, free: 2.367 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.674, allocations: 0.7556 MB / 1.049 GB, free: 1.516 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6741, allocations: 4 kB / 1.049 GB, free: 1.512 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002016/0.6761, allocations: 1.066 MB / 1.05 GB, free: 436 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.6761, allocations: 8 kB / 1.05 GB, free: 428 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.6761, allocations: 4 kB / 1.05 GB, free: 424 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.6773, allocations: 339.4 kB / 1.05 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.6776, allocations: 91.89 kB / 1.05 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008874/0.6865, allocations: 7.52 MB / 1.057 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.6871, allocations: 28.2 kB / 1.057 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/0.6872, allocations: 28 kB / 1.058 GB, free: 7.84 MB / 0.8106 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.0005536/0.6878, allocations: 249.5 kB / 1.058 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.688, allocations: 67.25 kB / 1.058 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.6899, allocations: 0.9159 MB / 1.059 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6899, allocations: 4 kB / 1.059 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/0.6899, allocations: 4 kB / 1.059 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.69, allocations: 7.984 kB / 1.059 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.6932, allocations: 1.716 MB / 1.06 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6932, allocations: 4 kB / 1.06 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.6934, allocations: 39.91 kB / 1.06 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009526/0.6943, allocations: 323.1 kB / 1.061 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.6944, allocations: 12 kB / 1.061 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007192/0.7016, allocations: 7.506 MB / 1.068 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7016, allocations: 4 kB / 1.068 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.7033, allocations: 1.011 MB / 1.069 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.7035, allocations: 172.4 kB / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.03e-05/0.7036, allocations: 8 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.7039, allocations: 23.97 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.7041, allocations: 43.89 kB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.7041, allocations: 16 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003509/0.7045, allocations: 314.8 kB / 1.07 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7045, allocations: 4 kB / 1.07 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007555/0.7052, allocations: 192 kB / 1.07 GB, free: 10.48 MB / 0.8262 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.001892/0.7071, allocations: 1.571 MB / 1.071 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.7091, allocations: 1.242 MB / 1.073 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7092, allocations: 0 / 1.073 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.7104, allocations: 0.862 MB / 1.073 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.7114, allocations: 207.6 kB / 1.074 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00906/0.7205, allocations: 6.02 MB / 1.079 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.7212, allocations: 0.996 MB / 1.08 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003238/0.7216, allocations: 101.2 kB / 1.081 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.7218, allocations: 227.4 kB / 1.081 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.7219, allocations: 0 / 1.081 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05138/0.7732, allocations: 15.29 MB / 1.096 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.1, allocations: 3.625 kB / 1.096 GB, free: 15.74 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches