Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_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.005633/0.005633, allocations: 99.66 kB / 15.73 MB, free: 6.477 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.001393/0.001393, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.84 kB / 1.054 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2808, allocations: 157.4 MB / 1.207 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01166/0.2926, allocations: 10.91 MB / 1.218 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3051, allocations: 8.802 MB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.3064, allocations: 55.69 kB / 1.227 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004393/0.3108, allocations: 1.672 MB / 1.228 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.3157, allocations: 1.53 MB / 1.23 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.3175, allocations: 0.6698 MB / 1.23 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002891/0.3204, allocations: 2.29 MB / 1.233 GB, free: 268 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.3225, allocations: 1.383 MB / 1.234 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.3242, allocations: 1.008 MB / 1.235 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.3259, allocations: 1.015 MB / 1.236 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.3263, allocations: 140 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.328, allocations: 0.811 MB / 1.237 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006912/0.3287, allocations: 0.5609 MB / 1.237 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.3302, allocations: 0.8823 MB / 1.238 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.3335, allocations: 2.566 MB / 1.241 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3336, allocations: 0 / 1.241 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3336, allocations: 0 / 1.241 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.662e-05/0.3337, allocations: 4 kB / 1.241 GB, free: 7.844 MB / 0.9981 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.003831/0.3375, allocations: 2.012 MB / 1.243 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3375, allocations: 12.62 kB / 1.243 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002933/0.3378, allocations: 198 kB / 1.243 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.3481, allocations: 2.05 MB / 1.245 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.3504, allocations: 1.212 MB / 1.246 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.769e-05/0.3505, allocations: 86.69 kB / 1.246 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.3509, allocations: 119.8 kB / 1.246 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5398/0.8907, allocations: 2.475 MB / 1.249 GB, free: 36.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-05/0.8908, allocations: 9.484 kB / 1.249 GB, free: 36.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.891, allocations: 51.53 kB / 1.249 GB, free: 36.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000414/0.8914, allocations: 128 kB / 1.249 GB, free: 36.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006949/0.8984, allocations: 2.54 MB / 1.251 GB, free: 36.7 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.9107, allocations: 10.01 MB / 1.261 GB, free: 31.06 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005403/0.9161, allocations: 1.95 MB / 1.263 GB, free: 30.94 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/0.9187, allocations: 0.9693 MB / 1.264 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-05/0.9188, allocations: 6.062 kB / 1.264 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.9188, allocations: 38.89 kB / 1.264 GB, free: 30.89 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=53): time 2.605e-06/0.9189, allocations: 2.188 kB / 1.264 GB, free: 30.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81): time 0.03101/0.9499, allocations: 8.731 MB / 1.273 GB, free: 30.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.9499, allocations: 68.3 kB / 1.273 GB, free: 30.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.9518, allocations: 1.096 MB / 1.274 GB, free: 29.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.9519, allocations: 40.64 kB / 1.274 GB, free: 29.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005017/0.9524, allocations: 0.7396 MB / 1.274 GB, free: 29.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.9528, allocations: 282.6 kB / 1.275 GB, free: 29.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004826/0.9533, allocations: 202.5 kB / 1.275 GB, free: 29.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.9533, allocations: 344.4 kB / 1.275 GB, free: 29.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/0.9562, allocations: 1.074 MB / 1.276 GB, free: 29.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/0.9591, allocations: 1.306 MB / 1.278 GB, free: 28.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005485/0.9646, allocations: 2.376 MB / 1.28 GB, free: 27.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.9646, allocations: 2.594 kB / 1.28 GB, free: 27.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008753/0.9733, allocations: 3.274 MB / 1.283 GB, free: 26.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.9734, allocations: 15.45 kB / 1.283 GB, free: 26.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.9734, allocations: 6.5 kB / 1.283 GB, free: 26.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003072/0.9765, allocations: 0.7902 MB / 1.284 GB, free: 26.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.9787, allocations: 420.1 kB / 1.284 GB, free: 26.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/0.9933, allocations: 15.92 MB / 1.3 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.9959, allocations: 286.3 kB / 1.3 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003499/0.9963, allocations: 52.48 kB / 1.3 GB, free: 13 MB / 0.9981 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.001179/0.9975, allocations: 403.4 kB / 1.301 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005729/0.9981, allocations: 143 kB / 1.301 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008676/1.007, allocations: 3.215 MB / 1.304 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.007, allocations: 11.5 kB / 1.304 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.629e-05/1.007, allocations: 8.25 kB / 1.304 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.007, allocations: 3.938 kB / 1.304 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/1.017, allocations: 4.905 MB / 1.309 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.567e-06/1.017, allocations: 4.719 kB / 1.309 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.019, allocations: 351.9 kB / 1.309 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/1.021, allocations: 0.6964 MB / 1.31 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/1.021, allocations: 28.19 kB / 1.31 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/1.034, allocations: 15.53 MB / 1.325 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/1.034, allocations: 7.734 kB / 1.325 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00777/1.042, allocations: 3.041 MB / 1.328 GB, free: 8.703 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008407/1.043, allocations: 383.1 kB / 1.328 GB, free: 8.402 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/1.043, allocations: 22.72 kB / 1.328 GB, free: 8.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/1.045, allocations: 287.6 kB / 1.329 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/1.045, allocations: 82.3 kB / 1.329 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.045, allocations: 40.16 kB / 1.329 GB, free: 8.191 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001262/1.047, allocations: 0.7378 MB / 1.329 GB, free: 7.781 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.21e-07/1.047, allocations: 1.5 kB / 1.329 GB, free: 7.781 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00195/1.049, allocations: 430.3 kB / 1.33 GB, free: 7.746 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.007989/1.057, allocations: 3.622 MB / 1.333 GB, free: 5.418 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008131/1.065, allocations: 3.631 MB / 1.337 GB, free: 3.098 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.065, allocations: 3.938 kB / 1.337 GB, free: 3.098 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004711/1.069, allocations: 2.37 MB / 1.339 GB, free: 1.406 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/1.072, allocations: 0.5176 MB / 1.34 GB, free: 1.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03346/1.106, allocations: 15.81 MB / 1.355 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.107, allocations: 1.388 MB / 1.356 GB, free: 5.777 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001559/1.109, allocations: 376.3 kB / 1.357 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009346/1.11, allocations: 0.6008 MB / 1.357 GB, free: 4.809 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/1.11, allocations: 0 / 1.357 GB, free: 4.809 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08369/1.193, allocations: 42.35 MB / 1.399 GB, free: 11.02 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.74, allocations: 20.53 kB / 1.399 GB, free: 11.01 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches