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: "" <> 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.004283/0.004283, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001079/0.001079, allocations: 195.7 kB / 16.68 MB, free: 5.934 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.547/2.547, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2423, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008178/0.2505, allocations: 6.736 MB / 1.173 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004654/0.2552, allocations: 3.032 MB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.2555, allocations: 27.81 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.2579, allocations: 0.9453 MB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.2589, allocations: 0.5246 MB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009363/0.2599, allocations: 430 kB / 1.178 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.261, allocations: 1.224 MB / 1.179 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008224/0.2619, allocations: 0.6664 MB / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.2624, allocations: 478.3 kB / 1.18 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.263, allocations: 0.5175 MB / 1.18 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2631, allocations: 64 kB / 1.18 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006443/0.2638, allocations: 383.2 kB / 1.181 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.264, allocations: 307.1 kB / 1.181 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.2644, allocations: 449.7 kB / 1.182 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.2656, allocations: 1.226 MB / 1.183 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2656, allocations: 4 kB / 1.183 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2656, allocations: 0 / 1.183 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.2657, allocations: 0 / 1.183 GB, free: 6.254 MB / 0.9356 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.001787/0.2674, allocations: 1.183 MB / 1.184 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2675, allocations: 8.031 kB / 1.184 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.2676, allocations: 118.7 kB / 1.184 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.2691, allocations: 240.1 kB / 1.184 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000921/0.2701, allocations: 0.6003 MB / 1.185 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.2701, allocations: 49.69 kB / 1.185 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.2702, allocations: 64.36 kB / 1.185 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.2717, allocations: 1.089 MB / 1.186 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.2718, allocations: 7.891 kB / 1.186 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.2718, allocations: 31.94 kB / 1.186 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002207/0.2721, allocations: 89.25 kB / 1.186 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.2732, allocations: 0.7504 MB / 1.187 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005057/0.2783, allocations: 5.882 MB / 1.193 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009529/0.2792, allocations: 0.5555 MB / 1.193 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.2797, allocations: 326 kB / 1.193 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.2797, allocations: 8.438 kB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.2798, allocations: 35 kB / 1.193 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.2798, allocations: 0 / 1.193 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.003668/0.2834, allocations: 1.995 MB / 1.195 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.2835, allocations: 55.84 kB / 1.195 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.2841, allocations: 0.5586 MB / 1.196 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.2841, allocations: 33.7 kB / 1.196 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.2844, allocations: 424.1 kB / 1.196 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.2845, allocations: 182.5 kB / 1.197 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.2847, allocations: 130.6 kB / 1.197 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2849, allocations: 374.7 kB / 1.197 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.2853, allocations: 273.8 kB / 1.197 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.2858, allocations: 497 kB / 1.198 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009897/0.2868, allocations: 0.8171 MB / 1.199 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2868, allocations: 0 / 1.199 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001745/0.2886, allocations: 1.087 MB / 1.2 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2886, allocations: 10.16 kB / 1.2 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2886, allocations: 12 kB / 1.2 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008116/0.2894, allocations: 275.2 kB / 1.2 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.2899, allocations: 123.8 kB / 1.2 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/0.296, allocations: 7.153 MB / 1.207 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.2966, allocations: 31.97 kB / 1.207 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.2966, allocations: 32.19 kB / 1.207 GB, free: 11.64 MB / 0.9669 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.0003187/0.297, allocations: 257.5 kB / 1.207 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2971, allocations: 71.58 kB / 1.207 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.2986, allocations: 0.8847 MB / 1.208 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.2986, allocations: 12.05 kB / 1.208 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.2986, allocations: 7.969 kB / 1.208 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2986, allocations: 4 kB / 1.208 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.3011, allocations: 1.721 MB / 1.21 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.3012, allocations: 7.969 kB / 1.21 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.3014, allocations: 59.89 kB / 1.21 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007143/0.3021, allocations: 267.2 kB / 1.21 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.3022, allocations: 8 kB / 1.21 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006009/0.3082, allocations: 7.128 MB / 1.217 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3082, allocations: 7.969 kB / 1.217 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.3097, allocations: 0.984 MB / 1.218 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.31, allocations: 200.6 kB / 1.219 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.3101, allocations: 15.92 kB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.3105, allocations: 27.97 kB / 1.219 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.909e-05/0.3106, allocations: 44.14 kB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.3106, allocations: 23.98 kB / 1.219 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004116/0.311, allocations: 379.1 kB / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.311, allocations: 0 / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007553/0.3118, allocations: 224 kB / 1.219 GB, free: 14.59 MB / 0.9825 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.001703/0.3135, allocations: 1.544 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.3154, allocations: 1.275 MB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3154, allocations: 0 / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.3166, allocations: 0.9009 MB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009838/0.3176, allocations: 222.3 kB / 1.223 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007757/0.3254, allocations: 6.37 MB / 1.229 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.3259, allocations: 1.009 MB / 1.23 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.3263, allocations: 118 kB / 1.23 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.3266, allocations: 251.4 kB / 1.231 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3266, allocations: 0 / 1.231 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/0.3699, allocations: 17.37 MB / 1.248 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.48, allocations: 15.86 kB / 1.248 GB, free: 1.281 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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