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.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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 111.8 kB / 16.42 MB, free: 5.918 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.002566/0.002566, allocations: 191.7 kB / 17.35 MB, free: 5.555 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.501/1.501, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.76/2.76, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.83 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187/1.189, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01053/1.2, allocations: 6.73 MB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005904/1.206, allocations: 3.044 MB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/1.207, allocations: 19.88 kB / 1.177 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002872/1.209, allocations: 0.9543 MB / 1.178 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002054/1.212, allocations: 0.5129 MB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/1.213, allocations: 433.6 kB / 1.179 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002038/1.215, allocations: 1.232 MB / 1.18 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/1.216, allocations: 0.6593 MB / 1.181 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/1.217, allocations: 482.3 kB / 1.181 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/1.219, allocations: 0.5215 MB / 1.182 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002289/1.219, allocations: 64 kB / 1.182 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/1.22, allocations: 379.2 kB / 1.182 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005399/1.221, allocations: 307.1 kB / 1.182 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/1.222, allocations: 445.7 kB / 1.183 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002385/1.224, allocations: 1.221 MB / 1.184 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.224, allocations: 8 kB / 1.184 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.853e-06/1.224, allocations: 0 / 1.184 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.449e-05/1.224, allocations: 0 / 1.184 GB, free: 2.801 MB / 0.9044 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.00311/1.227, allocations: 1.187 MB / 1.185 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/1.227, allocations: 12.88 kB / 1.185 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/1.229, allocations: 240.1 kB / 1.185 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/1.23, allocations: 0.5964 MB / 1.186 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/1.23, allocations: 53.67 kB / 1.186 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/1.23, allocations: 56.38 kB / 1.186 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/1.232, allocations: 1.093 MB / 1.187 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/1.232, allocations: 11.89 kB / 1.187 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.18e-05/1.232, allocations: 28 kB / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/1.233, allocations: 85.25 kB / 1.187 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/1.234, allocations: 0.7504 MB / 1.188 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006904/1.241, allocations: 5.883 MB / 1.194 GB, free: 8.184 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/1.242, allocations: 0.5554 MB / 1.194 GB, free: 7.617 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/1.243, allocations: 326 kB / 1.194 GB, free: 7.297 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.803e-05/1.243, allocations: 8.438 kB / 1.194 GB, free: 7.289 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/1.243, allocations: 35 kB / 1.195 GB, free: 7.246 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 4.769e-06/1.243, allocations: 3.984 kB / 1.195 GB, free: 7.242 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.004435/1.247, allocations: 1.995 MB / 1.196 GB, free: 5.152 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.247, allocations: 59.78 kB / 1.197 GB, free: 5.082 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007004/1.248, allocations: 0.5548 MB / 1.197 GB, free: 4.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/1.248, allocations: 37.64 kB / 1.197 GB, free: 4.477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006596/1.249, allocations: 428 kB / 1.198 GB, free: 4.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/1.249, allocations: 186.5 kB / 1.198 GB, free: 3.867 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/1.249, allocations: 126.6 kB / 1.198 GB, free: 3.734 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002274/1.249, allocations: 374.7 kB / 1.198 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/1.25, allocations: 273.8 kB / 1.198 GB, free: 3.094 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006892/1.251, allocations: 497 kB / 1.199 GB, free: 2.516 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.252, allocations: 0.8055 MB / 1.2 GB, free: 1.617 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.252, allocations: 4 kB / 1.2 GB, free: 1.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002001/1.254, allocations: 1.087 MB / 1.201 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/1.254, allocations: 8 kB / 1.201 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/1.254, allocations: 8 kB / 1.201 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009775/1.255, allocations: 279.2 kB / 1.201 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/1.256, allocations: 127.8 kB / 1.201 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009017/1.265, allocations: 7.134 MB / 1.208 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007873/1.265, allocations: 40.2 kB / 1.208 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/1.266, allocations: 32 kB / 1.208 GB, free: 8.309 MB / 0.9356 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.0004937/1.266, allocations: 250.1 kB / 1.208 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/1.266, allocations: 79.56 kB / 1.209 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/1.268, allocations: 0.8885 MB / 1.209 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.268, allocations: 3.938 kB / 1.209 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.268, allocations: 4 kB / 1.209 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/1.268, allocations: 192.6 kB / 1.21 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.269, allocations: 12 kB / 1.21 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/1.269, allocations: 23.97 kB / 1.21 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.269, allocations: 48.36 kB / 1.21 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002155/1.271, allocations: 0.9557 MB / 1.211 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001372/1.273, allocations: 1.045 MB / 1.212 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003795/1.273, allocations: 263.3 kB / 1.212 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005773/1.274, allocations: 383.1 kB / 1.212 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of Backend: time 1.062e-06/1.274, allocations: 0 / 1.212 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003019/1.277, allocations: 1.317 MB / 1.214 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003486/1.28, allocations: 1.956 MB / 1.215 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of Templates: time 0.02641/1.307, allocations: 13.19 MB / 1.228 GB, free: 3.68 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (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 & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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