Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_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.004401/0.004401, allocations: 99.16 kB / 15.73 MB, free: 6.492 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.001284/0.001284, allocations: 198.6 kB / 16.68 MB, free: 6.375 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.511/2.511, allocations: 469.8 MB / 0.7426 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 75.81 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2474, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01197/0.2594, allocations: 10.91 MB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.2704, allocations: 8.798 MB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.2709, allocations: 63.62 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003508/0.2744, allocations: 1.676 MB / 1.241 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.2772, allocations: 1.536 MB / 1.243 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.2785, allocations: 0.6666 MB / 1.243 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002194/0.2807, allocations: 2.286 MB / 1.245 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.2822, allocations: 1.384 MB / 1.247 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.2833, allocations: 0.977 MB / 1.248 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.2845, allocations: 1.027 MB / 1.249 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.2847, allocations: 136 kB / 1.249 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4515/0.7362, allocations: 0.7902 MB / 1.25 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007693/0.737, allocations: 0.5702 MB / 1.25 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009232/0.738, allocations: 0.8836 MB / 1.251 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.7405, allocations: 2.577 MB / 1.254 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7405, allocations: 0.9375 kB / 1.254 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7405, allocations: 0 / 1.254 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.7405, allocations: 0 / 1.254 GB, free: 7.598 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.002497/0.743, allocations: 2.071 MB / 1.256 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.743, allocations: 9.031 kB / 1.256 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.7432, allocations: 193.8 kB / 1.256 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.7533, allocations: 2.058 MB / 1.258 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.7549, allocations: 1.22 MB / 1.259 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/0.755, allocations: 91.41 kB / 1.259 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.7551, allocations: 117.1 kB / 1.259 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/0.7597, allocations: 2.482 MB / 1.262 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.7597, allocations: 14.41 kB / 1.262 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.7599, allocations: 52.67 kB / 1.262 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002794/0.7601, allocations: 127.7 kB / 1.262 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006513/0.7667, allocations: 2.538 MB / 1.264 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.7773, allocations: 10.03 MB / 1.274 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005826/0.7831, allocations: 1.956 MB / 1.276 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/0.7856, allocations: 0.9663 MB / 1.277 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.7857, allocations: 5.5 kB / 1.277 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.7857, allocations: 46.73 kB / 1.277 GB, free: 15.53 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 1.984e-06/0.7857, allocations: 0 / 1.277 GB, free: 15.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.02781/0.8135, allocations: 8.75 MB / 1.286 GB, free: 14.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.8136, allocations: 63.34 kB / 1.286 GB, free: 14.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.8148, allocations: 1.097 MB / 1.287 GB, free: 14.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/0.8149, allocations: 40.98 kB / 1.287 GB, free: 14.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/0.8154, allocations: 0.7542 MB / 1.288 GB, free: 14.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.8156, allocations: 295 kB / 1.288 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.816, allocations: 204.8 kB / 1.288 GB, free: 13.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8161, allocations: 341.5 kB / 1.288 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/0.8189, allocations: 1.07 MB / 1.289 GB, free: 13.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003011/0.8219, allocations: 1.306 MB / 1.291 GB, free: 12.99 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005719/0.8277, allocations: 2.381 MB / 1.293 GB, free: 12.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8277, allocations: 5.375 kB / 1.293 GB, free: 12.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008056/0.8358, allocations: 3.28 MB / 1.296 GB, free: 11.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8358, allocations: 9.281 kB / 1.296 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8358, allocations: 10.28 kB / 1.296 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.8382, allocations: 0.7883 MB / 1.297 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.8399, allocations: 417.7 kB / 1.297 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.8549, allocations: 15.93 MB / 1.313 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.8569, allocations: 286.9 kB / 1.313 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.8571, allocations: 49.67 kB / 1.313 GB, free: 13.59 MB / 1.029 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.0006956/0.8578, allocations: 414.5 kB / 1.314 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.858, allocations: 154.9 kB / 1.314 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008251/0.8662, allocations: 3.202 MB / 1.317 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.8663, allocations: 12.09 kB / 1.317 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.8663, allocations: 11.09 kB / 1.317 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.8663, allocations: 5.109 kB / 1.317 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.8766, allocations: 4.895 MB / 1.322 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8766, allocations: 2.625 kB / 1.322 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.8781, allocations: 354.7 kB / 1.322 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002119/0.8803, allocations: 0.6982 MB / 1.323 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.913e-05/0.8804, allocations: 31.53 kB / 1.323 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/0.8948, allocations: 15.55 MB / 1.338 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.8949, allocations: 5.562 kB / 1.338 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007569/0.9024, allocations: 3.05 MB / 1.341 GB, free: 8.27 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.9031, allocations: 388.1 kB / 1.341 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.9033, allocations: 18.81 kB / 1.341 GB, free: 7.953 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.905, allocations: 288 kB / 1.342 GB, free: 7.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.9052, allocations: 87.95 kB / 1.342 GB, free: 7.773 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.625e-05/0.9053, allocations: 40.19 kB / 1.342 GB, free: 7.758 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008826/0.9062, allocations: 0.7384 MB / 1.342 GB, free: 7.348 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9062, allocations: 2.062 kB / 1.342 GB, free: 7.348 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001269/0.9074, allocations: 429.9 kB / 1.343 GB, free: 7.312 MB / 1.045 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.007811/0.9153, allocations: 3.631 MB / 1.346 GB, free: 5.016 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007826/0.9231, allocations: 3.631 MB / 1.35 GB, free: 2.734 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.9231, allocations: 1.312 kB / 1.35 GB, free: 2.734 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004546/0.9277, allocations: 2.38 MB / 1.352 GB, free: 1.043 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.9296, allocations: 0.528 MB / 1.353 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/0.959, allocations: 15.86 MB / 1.368 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.96, allocations: 1.391 MB / 1.37 GB, free: 4.469 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001131/0.9611, allocations: 375.9 kB / 1.37 GB, free: 4.098 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008145/0.9619, allocations: 0.6008 MB / 1.371 GB, free: 3.496 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.9619, allocations: 0 / 1.371 GB, free: 3.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 15.03/15.99, allocations: 41.52 MB / 1.411 GB, free: 10.68 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.85/34.84, allocations: 23.72 kB / 1.411 GB, free: 10.65 MB / 1.107 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches