Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001822/0.001822, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002455/0.002455, allocations: 188 kB / 16.25 MB, free: 6.625 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.2 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.684, allocations: 140.4 MB / 0.9492 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0172/0.7012, allocations: 14.69 MB / 0.9636 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.719, allocations: 10.24 MB / 0.9736 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.721, allocations: 54.66 kB / 0.9736 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004819/0.7258, allocations: 1.581 MB / 0.9752 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007252/0.7331, allocations: 1.63 MB / 0.9768 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.7356, allocations: 0.694 MB / 0.9775 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005311/0.7409, allocations: 2.752 MB / 0.9801 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/0.7438, allocations: 1.59 MB / 0.9817 GB, free: 344 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.7469, allocations: 1.518 MB / 0.9832 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.7494, allocations: 1.203 MB / 0.9844 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004737/0.7499, allocations: 160 kB / 0.9845 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.752, allocations: 0.7877 MB / 0.9853 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000843/0.7528, allocations: 0.6076 MB / 0.9859 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001598/0.7544, allocations: 0.9522 MB / 0.9868 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004076/0.7585, allocations: 2.784 MB / 0.9895 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.7585, allocations: 3.938 kB / 0.9895 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7586, allocations: 0 / 0.9895 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001132/0.7587, allocations: 0 / 0.9895 GB, free: 8.715 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005934/0.7646, allocations: 2.17 MB / 0.9916 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.7647, allocations: 12.03 kB / 0.9917 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005224/0.7652, allocations: 194.4 kB / 0.9918 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.7771, allocations: 2.112 MB / 0.9939 GB, free: 4.16 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.7801, allocations: 1.206 MB / 0.9951 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.382e-05/0.7802, allocations: 86.69 kB / 0.9952 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005068/0.7807, allocations: 119.9 kB / 0.9953 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006764/0.7875, allocations: 2.674 MB / 0.9979 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-05/0.7876, allocations: 7.938 kB / 0.9979 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/0.7878, allocations: 55.97 kB / 0.998 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006882/0.7885, allocations: 190.1 kB / 0.9981 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007788/0.7963, allocations: 2.795 MB / 1.001 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/0.8118, allocations: 10.52 MB / 1.011 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006714/0.8185, allocations: 2.336 MB / 1.013 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/0.8218, allocations: 1.276 MB / 1.015 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.8219, allocations: 12.98 kB / 1.015 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.822, allocations: 47.48 kB / 1.015 GB, free: 14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 3.376e-06/0.822, allocations: 0 / 1.015 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=153): time 0.05999/0.882, allocations: 16.47 MB / 1.031 GB, free: 13.37 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.8821, allocations: 72.72 kB / 1.031 GB, free: 13.29 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.8837, allocations: 1.18 MB / 1.032 GB, free: 12.1 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.8839, allocations: 49.7 kB / 1.032 GB, free: 12.04 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005844/0.8845, allocations: 0.7436 MB / 1.033 GB, free: 11.29 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/0.885, allocations: 0.5121 MB / 1.033 GB, free: 10.77 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/0.8855, allocations: 287.4 kB / 1.034 GB, free: 10.49 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.8857, allocations: 309.1 kB / 1.034 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003454/0.8891, allocations: 1.51 MB / 1.035 GB, free: 8.672 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/0.8928, allocations: 1.772 MB / 1.037 GB, free: 6.805 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00719/0.9, allocations: 3.373 MB / 1.04 GB, free: 3.332 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.9, allocations: 0 / 1.04 GB, free: 3.332 MB / 0.795 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01358/0.9136, allocations: 5.285 MB / 1.046 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.9136, allocations: 9.562 kB / 1.046 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.9136, allocations: 4 kB / 1.046 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008221/0.9219, allocations: 1.897 MB / 1.047 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.9239, allocations: 415.3 kB / 1.048 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0484/0.9724, allocations: 24.14 MB / 1.071 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004146/0.9766, allocations: 304.1 kB / 1.072 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000508/0.9771, allocations: 71.91 kB / 1.072 GB, free: 2.035 MB / 0.8262 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001555/0.9787, allocations: 457.6 kB / 1.072 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007553/0.9794, allocations: 181.8 kB / 1.072 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0232/1.003, allocations: 5.324 MB / 1.078 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.33e-05/1.003, allocations: 16 kB / 1.078 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.613e-05/1.003, allocations: 23.94 kB / 1.078 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.842e-05/1.003, allocations: 7.969 kB / 1.078 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/1.02, allocations: 7.425 MB / 1.085 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.02, allocations: 4 kB / 1.085 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.022, allocations: 355.8 kB / 1.085 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007172/1.029, allocations: 1.729 MB / 1.087 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003018/1.029, allocations: 47.91 kB / 1.087 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04511/1.074, allocations: 23.3 MB / 1.11 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-05/1.074, allocations: 11.94 kB / 1.11 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.09, allocations: 4.889 MB / 1.114 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.091, allocations: 498.7 kB / 1.115 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000515/1.091, allocations: 28 kB / 1.115 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002426/1.094, allocations: 319.5 kB / 1.115 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006328/1.095, allocations: 149 kB / 1.115 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/1.095, allocations: 59.95 kB / 1.115 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001317/1.096, allocations: 0.786 MB / 1.116 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/1.096, allocations: 0 / 1.116 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002585/1.099, allocations: 0.6567 MB / 1.117 GB, free: 2.395 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/1.112, allocations: 5.478 MB / 1.122 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.124, allocations: 5.432 MB / 1.128 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.124, allocations: 7.938 kB / 1.128 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007278/1.131, allocations: 3.355 MB / 1.131 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/1.134, allocations: 0.5589 MB / 1.131 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05208/1.186, allocations: 23.62 MB / 1.154 GB, free: 10.78 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/1.188, allocations: 1.564 MB / 1.156 GB, free: 9.176 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001824/1.19, allocations: 386.4 kB / 1.156 GB, free: 8.793 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.191, allocations: 0.6554 MB / 1.157 GB, free: 8.137 MB / 0.92 GB Notification: Performance of SimCode: time 8.81e-07/1.191, allocations: 0 / 1.157 GB, free: 8.137 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2005/1.391, allocations: 58.44 MB / 1.214 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.392, allocations: 245.1 kB / 1.214 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/4.565, allocations: 0 / 1.214 GB, free: 14.18 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches