Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_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.001044/0.001044, allocations: 115.3 kB / 15.34 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.0009858/0.0009858, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.234/1.234, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.358/2.358, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.91 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5308, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01581/0.5467, allocations: 14.7 MB / 1.031 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.5598, allocations: 10.26 MB / 1.041 GB, free: 9.652 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.561, allocations: 51.62 kB / 1.041 GB, free: 9.602 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003874/0.5649, allocations: 1.567 MB / 1.043 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004091/0.569, allocations: 1.636 MB / 1.044 GB, free: 6.398 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.5707, allocations: 0.6939 MB / 1.045 GB, free: 5.707 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003191/0.5739, allocations: 2.75 MB / 1.048 GB, free: 2.945 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.5759, allocations: 1.59 MB / 1.049 GB, free: 1.324 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.5778, allocations: 1.515 MB / 1.051 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.5795, allocations: 1.206 MB / 1.052 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003845/0.5799, allocations: 160 kB / 1.052 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.5813, allocations: 0.7877 MB / 1.053 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006646/0.5819, allocations: 0.6076 MB / 1.054 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008692/0.5828, allocations: 0.9484 MB / 1.054 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.5851, allocations: 2.788 MB / 1.057 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5852, allocations: 0 / 1.057 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5852, allocations: 7.938 kB / 1.057 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.5852, allocations: 0 / 1.057 GB, free: 9.281 MB / 0.8106 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.003134/0.5883, allocations: 2.17 MB / 1.059 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.5884, allocations: 8.031 kB / 1.059 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/0.5886, allocations: 198.3 kB / 1.06 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.5993, allocations: 2.112 MB / 1.062 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.6014, allocations: 1.213 MB / 1.063 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.6014, allocations: 86.69 kB / 1.063 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.6017, allocations: 115.9 kB / 1.063 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005069/0.6067, allocations: 2.678 MB / 1.066 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.6068, allocations: 7.938 kB / 1.066 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.6069, allocations: 51.98 kB / 1.066 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005689/0.6075, allocations: 194.1 kB / 1.066 GB, free: 184 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0066/0.6141, allocations: 2.791 MB / 1.069 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.6269, allocations: 10.51 MB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005931/0.6328, allocations: 2.332 MB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/0.6356, allocations: 1.272 MB / 1.082 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-05/0.6357, allocations: 20.91 kB / 1.082 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.6358, allocations: 47.55 kB / 1.082 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 2.465e-06/0.6358, allocations: 0 / 1.082 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.05382/0.6896, allocations: 16.47 MB / 1.098 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.6897, allocations: 68.66 kB / 1.099 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.6911, allocations: 1.176 MB / 1.1 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.6913, allocations: 49.7 kB / 1.1 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004831/0.6918, allocations: 0.7475 MB / 1.1 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/0.6922, allocations: 0.5082 MB / 1.101 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005415/0.6928, allocations: 291.4 kB / 1.101 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.6929, allocations: 305.1 kB / 1.102 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003208/0.6961, allocations: 1.51 MB / 1.103 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003327/0.6994, allocations: 1.78 MB / 1.105 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006594/0.706, allocations: 3.365 MB / 1.108 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.7061, allocations: 4 kB / 1.108 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01239/0.7185, allocations: 5.273 MB / 1.113 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.7185, allocations: 8 kB / 1.113 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.7185, allocations: 8 kB / 1.113 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006559/0.7251, allocations: 1.896 MB / 1.115 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.7269, allocations: 415.3 kB / 1.115 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02693/0.7539, allocations: 24.16 MB / 1.139 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/0.7563, allocations: 303.5 kB / 1.139 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.7565, allocations: 67.91 kB / 1.139 GB, free: 2.617 MB / 0.8887 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.0007802/0.7572, allocations: 475.2 kB / 1.14 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.7575, allocations: 173.9 kB / 1.14 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/0.7701, allocations: 5.316 MB / 1.145 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.7701, allocations: 12 kB / 1.145 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/0.7701, allocations: 23.94 kB / 1.145 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.7701, allocations: 3.984 kB / 1.145 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.7851, allocations: 7.426 MB / 1.153 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.7851, allocations: 4 kB / 1.153 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.7867, allocations: 355.7 kB / 1.153 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005629/0.7923, allocations: 1.716 MB / 1.155 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.7925, allocations: 47.91 kB / 1.155 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02481/0.8173, allocations: 23.33 MB / 1.177 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8173, allocations: 7.969 kB / 1.177 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.8285, allocations: 4.885 MB / 1.182 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008232/0.8293, allocations: 494.8 kB / 1.183 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.8296, allocations: 32 kB / 1.183 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/0.8315, allocations: 315.5 kB / 1.183 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004508/0.832, allocations: 157 kB / 1.183 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.8321, allocations: 51.95 kB / 1.183 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009094/0.833, allocations: 0.786 MB / 1.184 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.833, allocations: 0 / 1.184 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001697/0.8347, allocations: 0.6562 MB / 1.185 GB, free: 2.969 MB / 0.9356 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.01142/0.8462, allocations: 5.486 MB / 1.19 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.011/0.8572, allocations: 5.425 MB / 1.195 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8572, allocations: 0 / 1.195 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.006274/0.8635, allocations: 3.351 MB / 1.198 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.8657, allocations: 0.5597 MB / 1.199 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04269/0.9084, allocations: 23.61 MB / 1.222 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.9095, allocations: 1.564 MB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001551/0.911, allocations: 390.4 kB / 1.224 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008035/0.9119, allocations: 0.6593 MB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.9119, allocations: 0 / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.89/5.802, allocations: 58.42 MB / 1.282 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/5.802, allocations: 251.1 kB / 1.282 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.345/10.15, allocations: 0 / 1.282 GB, free: 210.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches