Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.004988/0.004988, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001404/0.001404, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.293/2.293, allocations: 437.1 MB / 0.7106 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 63.91 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6208/0.6226, allocations: 151.6 MB / 1.166 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01314/0.6358, allocations: 10.91 MB / 1.177 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01246/0.6483, allocations: 8.795 MB / 1.185 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009301/0.6493, allocations: 51.69 kB / 1.185 GB, free: 15.85 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003864/0.6532, allocations: 1.68 MB / 1.187 GB, free: 14.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003804/0.657, allocations: 1.537 MB / 1.189 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.6585, allocations: 0.6719 MB / 1.189 GB, free: 11.95 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002738/0.6613, allocations: 2.276 MB / 1.192 GB, free: 9.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.663, allocations: 1.387 MB / 1.193 GB, free: 8.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.6643, allocations: 0.9731 MB / 1.194 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.6656, allocations: 1.031 MB / 1.195 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.6658, allocations: 136 kB / 1.195 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.6672, allocations: 0.7955 MB / 1.196 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005159/0.6677, allocations: 0.5725 MB / 1.196 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000826/0.6685, allocations: 0.8823 MB / 1.197 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.6712, allocations: 2.572 MB / 1.2 GB, free: 1.266 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6712, allocations: 0 / 1.2 GB, free: 1.266 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6712, allocations: 0 / 1.2 GB, free: 1.266 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.6712, allocations: 0 / 1.2 GB, free: 1.266 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002964/0.6742, allocations: 2.074 MB / 1.202 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6742, allocations: 12.91 kB / 1.202 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.6745, allocations: 194 kB / 1.202 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.6854, allocations: 2.059 MB / 1.204 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.6874, allocations: 1.217 MB / 1.205 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.6875, allocations: 90.69 kB / 1.205 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.6877, allocations: 123.9 kB / 1.205 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005277/0.693, allocations: 2.478 MB / 1.208 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.019e-05/0.6931, allocations: 7.938 kB / 1.208 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.6932, allocations: 59.98 kB / 1.208 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003259/0.6936, allocations: 130.1 kB / 1.208 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00717/0.7007, allocations: 2.533 MB / 1.21 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.7136, allocations: 10.05 MB / 1.22 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006244/0.7199, allocations: 1.941 MB / 1.222 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002787/0.7227, allocations: 0.9815 MB / 1.223 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.7228, allocations: 8.422 kB / 1.223 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.7228, allocations: 39 kB / 1.223 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 2.225e-06/0.7228, allocations: 0 / 1.223 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.03019/0.753, allocations: 8.741 MB / 1.232 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.7531, allocations: 67.94 kB / 1.232 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.7545, allocations: 1.101 MB / 1.233 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-05/0.7546, allocations: 37.7 kB / 1.233 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005616/0.7551, allocations: 0.7551 MB / 1.234 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.7554, allocations: 293.5 kB / 1.234 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/0.7558, allocations: 198.5 kB / 1.234 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.756, allocations: 341.9 kB / 1.234 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003003/0.759, allocations: 1.075 MB / 1.235 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/0.7622, allocations: 1.305 MB / 1.237 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006165/0.7683, allocations: 2.374 MB / 1.239 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.7684, allocations: 4 kB / 1.239 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008766/0.7771, allocations: 3.285 MB / 1.242 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.7772, allocations: 8 kB / 1.242 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.7772, allocations: 8 kB / 1.242 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002626/0.7798, allocations: 0.7915 MB / 1.243 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.7817, allocations: 423.2 kB / 1.243 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/0.7978, allocations: 15.93 MB / 1.259 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.8, allocations: 291.6 kB / 1.259 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.8001, allocations: 47.97 kB / 1.259 GB, free: 1.762 MB / 0.9825 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006707/0.8008, allocations: 405.4 kB / 1.26 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.801, allocations: 151.1 kB / 1.26 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008747/0.8098, allocations: 3.202 MB / 1.263 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.8098, allocations: 8 kB / 1.263 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.8098, allocations: 8 kB / 1.263 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.8098, allocations: 3.984 kB / 1.263 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.8205, allocations: 4.917 MB / 1.268 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.8205, allocations: 144 / 1.268 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.8222, allocations: 359.7 kB / 1.268 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/0.8244, allocations: 0.7013 MB / 1.269 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.529e-05/0.8245, allocations: 27.97 kB / 1.269 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/0.8397, allocations: 15.54 MB / 1.284 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.8397, allocations: 4 kB / 1.284 GB, free: 7.133 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008039/0.8477, allocations: 3.048 MB / 1.287 GB, free: 4.004 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/0.8483, allocations: 388 kB / 1.287 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.8485, allocations: 16 kB / 1.287 GB, free: 3.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/0.8503, allocations: 299.4 kB / 1.288 GB, free: 3.297 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.8505, allocations: 80.67 kB / 1.288 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.454e-05/0.8506, allocations: 43.91 kB / 1.288 GB, free: 3.176 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009409/0.8515, allocations: 0.7444 MB / 1.288 GB, free: 2.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8515, allocations: 0 / 1.288 GB, free: 2.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001215/0.8528, allocations: 432 kB / 1.289 GB, free: 2.008 MB / 1.014 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.008294/0.8611, allocations: 3.617 MB / 1.292 GB, free: 14.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.008341/0.8694, allocations: 3.644 MB / 1.296 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.8694, allocations: 0 / 1.296 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.004837/0.8743, allocations: 2.375 MB / 1.298 GB, free: 8.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.8762, allocations: 0.5274 MB / 1.299 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/0.9084, allocations: 15.86 MB / 1.314 GB, free: 7.285 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.9094, allocations: 1.395 MB / 1.316 GB, free: 5.859 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001241/0.9107, allocations: 375.9 kB / 1.316 GB, free: 5.488 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008079/0.9115, allocations: 0.6008 MB / 1.317 GB, free: 4.887 MB / 1.045 GB Notification: Performance of SimCode: time 5.61e-07/0.9115, allocations: 0 / 1.317 GB, free: 4.887 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.416/7.327, allocations: 41.52 MB / 1.357 GB, free: 11.88 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.72/37.05, allocations: 11.8 kB / 1.357 GB, free: 11.87 MB / 1.092 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches