Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.0007588/0.0007588, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004843/0.004843, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.345/2.345, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 12 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5183/0.5186, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006609/0.5253, allocations: 6.303 MB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004204/0.5295, allocations: 3.02 MB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.53, allocations: 23.81 kB / 1.032 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.5304, allocations: 134.9 kB / 1.032 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.5314, allocations: 477.7 kB / 1.033 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00088/0.5323, allocations: 387.3 kB / 1.033 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.5338, allocations: 1.583 MB / 1.035 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.5352, allocations: 1 MB / 1.036 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004066/0.5356, allocations: 398.3 kB / 1.036 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.5362, allocations: 498 kB / 1.037 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.904e-05/0.5362, allocations: 43.94 kB / 1.037 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005961/0.5368, allocations: 435.1 kB / 1.037 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.5371, allocations: 275.2 kB / 1.037 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.5374, allocations: 427.4 kB / 1.038 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009153/0.5383, allocations: 1.186 MB / 1.039 GB, free: 15.61 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5383, allocations: 0 / 1.039 GB, free: 15.61 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5383, allocations: 0 / 1.039 GB, free: 15.61 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.5383, allocations: 0 / 1.039 GB, free: 15.61 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001374/0.5397, allocations: 1.001 MB / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.5398, allocations: 12.03 kB / 1.04 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.5399, allocations: 122.7 kB / 1.04 GB, free: 14.42 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.5413, allocations: 239.6 kB / 1.04 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.5419, allocations: 0.5453 MB / 1.041 GB, free: 13.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.542, allocations: 49.67 kB / 1.041 GB, free: 13.55 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/0.5421, allocations: 64.27 kB / 1.041 GB, free: 13.48 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.5434, allocations: 1.085 MB / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.5434, allocations: 7.938 kB / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.5435, allocations: 35.98 kB / 1.042 GB, free: 12.25 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/0.5436, allocations: 85.25 kB / 1.042 GB, free: 12.17 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.5446, allocations: 0.7504 MB / 1.043 GB, free: 11.41 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004332/0.549, allocations: 5.901 MB / 1.049 GB, free: 5.082 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008644/0.5499, allocations: 0.5561 MB / 1.049 GB, free: 4.52 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.5503, allocations: 326 kB / 1.049 GB, free: 4.199 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.5503, allocations: 4.438 kB / 1.049 GB, free: 4.195 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.5503, allocations: 47 kB / 1.049 GB, free: 4.141 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 1.483e-06/0.5503, allocations: 0 / 1.049 GB, free: 4.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003475/0.5538, allocations: 1.998 MB / 1.051 GB, free: 2.047 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.5538, allocations: 59.84 kB / 1.051 GB, free: 1.977 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.5544, allocations: 0.5509 MB / 1.052 GB, free: 1.418 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.5544, allocations: 29.7 kB / 1.052 GB, free: 1.383 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.5547, allocations: 414.9 kB / 1.052 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.5548, allocations: 173.5 kB / 1.053 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/0.5549, allocations: 57.69 kB / 1.053 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.555, allocations: 382.7 kB / 1.053 GB, free: 360 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.5554, allocations: 273.8 kB / 1.053 GB, free: 84 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.5559, allocations: 497.5 kB / 1.054 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009311/0.5568, allocations: 0.8094 MB / 1.055 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5568, allocations: 0 / 1.055 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001631/0.5585, allocations: 1.087 MB / 1.056 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5585, allocations: 8 kB / 1.056 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.5585, allocations: 8 kB / 1.056 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007344/0.5593, allocations: 279.7 kB / 1.056 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.5597, allocations: 127.8 kB / 1.056 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005325/0.565, allocations: 6.614 MB / 1.062 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.5655, allocations: 39.97 kB / 1.062 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.5656, allocations: 28 kB / 1.063 GB, free: 5.848 MB / 0.8106 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.000264/0.5658, allocations: 257.5 kB / 1.063 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/0.5659, allocations: 71.19 kB / 1.063 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.5673, allocations: 0.8963 MB / 1.064 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.5674, allocations: 4 kB / 1.064 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5674, allocations: 7.984 kB / 1.064 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5674, allocations: 0 / 1.064 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.5697, allocations: 1.732 MB / 1.065 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5697, allocations: 0 / 1.065 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.5699, allocations: 55.95 kB / 1.065 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006682/0.5706, allocations: 271.2 kB / 1.066 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.5706, allocations: 8 kB / 1.066 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005209/0.5759, allocations: 6.599 MB / 1.072 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5759, allocations: 7.969 kB / 1.072 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.5772, allocations: 0.9835 MB / 1.073 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.5774, allocations: 184.3 kB / 1.073 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.5775, allocations: 15.94 kB / 1.073 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.5779, allocations: 27.97 kB / 1.073 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.578, allocations: 43.88 kB / 1.073 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.578, allocations: 16 kB / 1.073 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003612/0.5784, allocations: 387.1 kB / 1.074 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5784, allocations: 0 / 1.074 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006527/0.579, allocations: 224 kB / 1.074 GB, free: 9.363 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001638/0.5807, allocations: 1.552 MB / 1.076 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.5825, allocations: 1.264 MB / 1.077 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5825, allocations: 4.125 kB / 1.077 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.5836, allocations: 0.9009 MB / 1.078 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.5847, allocations: 206.1 kB / 1.078 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007782/0.5925, allocations: 6.818 MB / 1.084 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.593, allocations: 1.009 MB / 1.085 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003685/0.5933, allocations: 130 kB / 1.086 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.5936, allocations: 247.4 kB / 1.086 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.5936, allocations: 3.938 kB / 1.086 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5186/1.112, allocations: 16.32 MB / 1.102 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/1.112, allocations: 233.5 kB / 1.102 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/3.125, allocations: 0 / 1.102 GB, free: 12.45 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches