Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_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.001226/0.001226, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6647 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5234/0.5248, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01512/0.54, allocations: 10.89 MB / 0.9604 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0177/0.5577, allocations: 8.804 MB / 0.969 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.5595, allocations: 58.44 kB / 0.969 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005518/0.565, allocations: 1.67 MB / 0.9707 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006206/0.5713, allocations: 1.532 MB / 0.9722 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.5739, allocations: 0.6772 MB / 0.9728 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004141/0.578, allocations: 2.275 MB / 0.975 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/0.5808, allocations: 1.381 MB / 0.9764 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.5825, allocations: 0.978 MB / 0.9773 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.5845, allocations: 1.025 MB / 0.9783 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004383/0.585, allocations: 138 kB / 0.9785 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.5869, allocations: 0.7952 MB / 0.9792 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007212/0.5877, allocations: 0.5669 MB / 0.9798 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.5892, allocations: 0.8916 MB / 0.9807 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.5923, allocations: 2.535 MB / 0.9831 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5923, allocations: 0 / 0.9831 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5923, allocations: 3.984 kB / 0.9831 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.23e-05/0.5924, allocations: 0 / 0.9831 GB, free: 15.52 MB / 0.7481 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.003026/0.5954, allocations: 2.018 MB / 0.9851 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.5955, allocations: 8.031 kB / 0.9851 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/0.5957, allocations: 186.1 kB / 0.9853 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.6061, allocations: 2.058 MB / 0.9873 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.6081, allocations: 1.115 MB / 0.9884 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.6081, allocations: 90.69 kB / 0.9885 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.6084, allocations: 123.8 kB / 0.9886 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005152/0.6136, allocations: 2.482 MB / 0.991 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.6137, allocations: 8 kB / 0.991 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.6138, allocations: 55.92 kB / 0.9911 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003244/0.6142, allocations: 138 kB / 0.9912 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006772/0.6209, allocations: 2.533 MB / 0.9937 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.6327, allocations: 10.08 MB / 1.004 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005836/0.6386, allocations: 1.944 MB / 1.005 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/0.6412, allocations: 0.9738 MB / 1.006 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.6412, allocations: 12.36 kB / 1.006 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.6413, allocations: 39 kB / 1.006 GB, free: 6.676 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 2.354e-06/0.6413, allocations: 0 / 1.006 GB, free: 6.676 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.02969/0.671, allocations: 8.714 MB / 1.015 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.671, allocations: 64 kB / 1.015 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.6725, allocations: 1.101 MB / 1.016 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.6726, allocations: 41.7 kB / 1.016 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000492/0.6731, allocations: 0.7418 MB / 1.017 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.6733, allocations: 272 kB / 1.017 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/0.6737, allocations: 202.4 kB / 1.017 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6738, allocations: 341.9 kB / 1.018 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/0.6767, allocations: 1.075 MB / 1.019 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003041/0.6798, allocations: 1.309 MB / 1.02 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005754/0.6855, allocations: 2.374 MB / 1.022 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.6855, allocations: 4 kB / 1.022 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008244/0.6938, allocations: 3.28 MB / 1.025 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.6938, allocations: 8 kB / 1.025 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.6938, allocations: 8 kB / 1.025 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002547/0.6964, allocations: 0.7992 MB / 1.026 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.6982, allocations: 411.2 kB / 1.027 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/0.7122, allocations: 15.92 MB / 1.042 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/0.7144, allocations: 291.5 kB / 1.042 GB, free: 264 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.7145, allocations: 47.97 kB / 1.043 GB, free: 216 kB / 0.795 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.0006821/0.7152, allocations: 410.5 kB / 1.043 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.7155, allocations: 150.2 kB / 1.043 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008232/0.7238, allocations: 3.198 MB / 1.046 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.7238, allocations: 12 kB / 1.046 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.7238, allocations: 8 kB / 1.046 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.7238, allocations: 3.984 kB / 1.046 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.7349, allocations: 4.916 MB / 1.051 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.7349, allocations: 4 kB / 1.051 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.7365, allocations: 355.4 kB / 1.051 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.7387, allocations: 0.702 MB / 1.052 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-05/0.7388, allocations: 31.97 kB / 1.052 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/0.7524, allocations: 15.55 MB / 1.067 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7525, allocations: 4 kB / 1.067 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007697/0.7602, allocations: 3.042 MB / 1.07 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/0.7609, allocations: 383.1 kB / 1.071 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.7612, allocations: 16 kB / 1.071 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.7631, allocations: 295.4 kB / 1.071 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.7633, allocations: 84.48 kB / 1.071 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/0.7634, allocations: 35.97 kB / 1.071 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009485/0.7644, allocations: 0.7405 MB / 1.072 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7644, allocations: 0 / 1.072 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001436/0.7658, allocations: 432 kB / 1.072 GB, free: 472 kB / 0.8262 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.00792/0.7737, allocations: 3.612 MB / 1.076 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008166/0.7819, allocations: 3.754 MB / 1.079 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.782, allocations: 0 / 1.079 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004579/0.7865, allocations: 2.375 MB / 1.082 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.7888, allocations: 0.5301 MB / 1.082 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03096/0.8197, allocations: 16.57 MB / 1.098 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.8208, allocations: 1.384 MB / 1.1 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001446/0.8222, allocations: 379.8 kB / 1.1 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007338/0.823, allocations: 0.6047 MB / 1.101 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of SimCode: time 6.41e-07/0.823, allocations: 0 / 1.101 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.32/4.143, allocations: 41.22 MB / 1.141 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/14.77, allocations: 14.78 kB / 1.141 GB, free: 9.605 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches