Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.001484/0.001484, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001785/0.001785, allocations: 189.7 kB / 16.13 MB, free: 6.645 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7769/0.7785, allocations: 140.4 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0324/0.811, allocations: 33.03 MB / 0.9813 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02409/0.8351, allocations: 14.79 MB / 0.9958 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005619/0.8407, allocations: 139.2 kB / 0.9959 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009128/0.8499, allocations: 3.393 MB / 0.9992 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.86, allocations: 2.687 MB / 1.002 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007422/0.8674, allocations: 2.122 MB / 1.004 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01572/0.8832, allocations: 12.21 MB / 1.016 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0149/0.8981, allocations: 10.36 MB / 1.026 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006786/0.9049, allocations: 3.438 MB / 1.029 GB, free: 15.65 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007874/0.9128, allocations: 4.1 MB / 1.033 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002814/0.9156, allocations: 484 kB / 1.034 GB, free: 11.06 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005876/0.9215, allocations: 1.747 MB / 1.035 GB, free: 9.312 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004336/0.9259, allocations: 2.58 MB / 1.038 GB, free: 6.727 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.007943/0.9338, allocations: 3.119 MB / 1.041 GB, free: 3.594 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.9485, allocations: 11 MB / 1.052 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.9486, allocations: 0 / 1.052 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9486, allocations: 3.938 kB / 1.052 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003487/0.949, allocations: 4 kB / 1.052 GB, free: 8.551 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0194/0.9684, allocations: 5.971 MB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.9684, allocations: 8.031 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0027/0.9711, allocations: 0.7232 MB / 1.058 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007979/0.9791, allocations: 1.138 MB / 1.059 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008806/0.988, allocations: 3.332 MB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004588/0.9885, allocations: 378.4 kB / 1.063 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002669/0.9911, allocations: 499.8 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/1.009, allocations: 8.005 MB / 1.071 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/1.01, allocations: 23.78 kB / 1.071 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/1.011, allocations: 216 kB / 1.072 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001027/1.012, allocations: 437.6 kB / 1.072 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/1.026, allocations: 6.085 MB / 1.078 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04644/1.072, allocations: 35.15 MB / 1.112 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/1.075, allocations: 2.022 MB / 1.114 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/1.078, allocations: 1.865 MB / 1.116 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/1.078, allocations: 18 kB / 1.116 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/1.078, allocations: 64.5 kB / 1.116 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=171): time 3.055e-06/1.078, allocations: 4 kB / 1.116 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of matching and sorting (n=276): time 0.1415/1.22, allocations: 38.85 MB / 1.154 GB, free: 12.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/1.22, allocations: 81.58 kB / 1.154 GB, free: 11.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/1.224, allocations: 2.282 MB / 1.156 GB, free: 9.633 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002495/1.224, allocations: 73.7 kB / 1.156 GB, free: 9.555 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001534/1.226, allocations: 2.276 MB / 1.159 GB, free: 7.254 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008349/1.227, allocations: 0.928 MB / 1.16 GB, free: 6.312 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/1.228, allocations: 0.51 MB / 1.16 GB, free: 5.793 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/1.228, allocations: 309.1 kB / 1.16 GB, free: 5.488 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/1.23, allocations: 1.973 MB / 1.162 GB, free: 3.512 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/1.234, allocations: 2.602 MB / 1.165 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005949/1.24, allocations: 4.929 MB / 1.17 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.24, allocations: 4 kB / 1.17 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01337/1.253, allocations: 7.765 MB / 1.177 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.253, allocations: 14.03 kB / 1.177 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/1.253, allocations: 16 kB / 1.177 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008983/1.262, allocations: 3.208 MB / 1.18 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.264, allocations: 403.4 kB / 1.181 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03994/1.304, allocations: 31.09 MB / 1.211 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/1.306, allocations: 160.1 kB / 1.211 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004144/1.307, allocations: 108 kB / 1.211 GB, free: 15.8 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002912/1.31, allocations: 1.807 MB / 1.213 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000797/1.31, allocations: 336 kB / 1.214 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.324, allocations: 7.353 MB / 1.221 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/1.324, allocations: 28 kB / 1.221 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001272/1.324, allocations: 28 kB / 1.221 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/1.324, allocations: 11.95 kB / 1.221 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.348, allocations: 12.94 MB / 1.233 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/1.348, allocations: 8.844 kB / 1.233 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008983/1.349, allocations: 227.6 kB / 1.234 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007886/1.357, allocations: 2.853 MB / 1.236 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00023/1.357, allocations: 52 kB / 1.236 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4563/1.813, allocations: 29.89 MB / 1.266 GB, free: 273.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/1.813, allocations: 7.375 kB / 1.266 GB, free: 273.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/1.825, allocations: 6.889 MB / 1.272 GB, free: 271.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/1.826, allocations: 0.7763 MB / 1.273 GB, free: 271.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/1.827, allocations: 54.97 kB / 1.273 GB, free: 271.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/1.828, allocations: 178.1 kB / 1.273 GB, free: 271.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007244/1.829, allocations: 251.8 kB / 1.274 GB, free: 271.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/1.829, allocations: 76.44 kB / 1.274 GB, free: 271.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00171/1.831, allocations: 1.523 MB / 1.275 GB, free: 270.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.831, allocations: 5.688 kB / 1.275 GB, free: 270.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003148/1.834, allocations: 1.368 MB / 1.276 GB, free: 270.7 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01073/1.845, allocations: 7.514 MB / 1.284 GB, free: 267.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009745/1.855, allocations: 6.888 MB / 1.291 GB, free: 264.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.855, allocations: 7.656 kB / 1.291 GB, free: 264.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005631/1.86, allocations: 4.405 MB / 1.295 GB, free: 262.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/1.864, allocations: 1.042 MB / 1.296 GB, free: 261.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0529/1.917, allocations: 46.04 MB / 1.341 GB, free: 220.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003223/1.92, allocations: 3.646 MB / 1.344 GB, free: 216.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002011/1.922, allocations: 0.5556 MB / 1.345 GB, free: 216.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/1.923, allocations: 1.975 MB / 1.347 GB, free: 214.2 MB / 1.014 GB Notification: Performance of SimCode: time 9.41e-07/1.923, allocations: 0 / 1.347 GB, free: 214.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.252/5.176, allocations: 110 MB / 1.454 GB, free: 105.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/5.176, allocations: 247.6 kB / 1.455 GB, free: 105.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.05/9.225, allocations: 0 / 1.455 GB, free: 105.1 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches