Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.007435/0.007435, allocations: 95.02 kB / 15.73 MB, free: 6.039 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.002095/0.002095, allocations: 200.6 kB / 16.68 MB, free: 5.969 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.713/2.713, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 63.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2611, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008195/0.2693, allocations: 6.086 MB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004766/0.2741, allocations: 3.149 MB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.2743, allocations: 27.81 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.2767, allocations: 0.9335 MB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008585/0.2776, allocations: 473.5 kB / 1.177 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009558/0.2785, allocations: 482.8 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.2797, allocations: 1.088 MB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008892/0.2806, allocations: 0.6467 MB / 1.179 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.2811, allocations: 442.4 kB / 1.179 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000592/0.2817, allocations: 470.2 kB / 1.18 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.335e-05/0.2819, allocations: 56 kB / 1.18 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007464/0.2826, allocations: 494.9 kB / 1.18 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.2829, allocations: 283.3 kB / 1.18 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.2833, allocations: 401.9 kB / 1.181 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.2846, allocations: 1.171 MB / 1.182 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2846, allocations: 0 / 1.182 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2846, allocations: 0 / 1.182 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.2846, allocations: 4 kB / 1.182 GB, free: 7.125 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001625/0.2863, allocations: 1.074 MB / 1.183 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2863, allocations: 12.03 kB / 1.183 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.2865, allocations: 110.7 kB / 1.183 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.288, allocations: 228.1 kB / 1.183 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008947/0.2889, allocations: 0.5887 MB / 1.184 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.289, allocations: 45.67 kB / 1.184 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.2891, allocations: 72.34 kB / 1.184 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.2906, allocations: 1.034 MB / 1.185 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.2906, allocations: 11.89 kB / 1.185 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.751e-05/0.2907, allocations: 27.98 kB / 1.185 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-05/0.2908, allocations: 69.27 kB / 1.185 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.2919, allocations: 0.6879 MB / 1.186 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005378/0.2973, allocations: 5.745 MB / 1.191 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008748/0.2982, allocations: 0.5882 MB / 1.192 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008566/0.2991, allocations: 441.1 kB / 1.192 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.2991, allocations: 4 kB / 1.192 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2992, allocations: 38.34 kB / 1.192 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.2992, allocations: 0 / 1.192 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42): time 0.004429/0.3036, allocations: 2.027 MB / 1.194 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.3037, allocations: 59.19 kB / 1.194 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.3042, allocations: 458.8 kB / 1.195 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.3042, allocations: 29.7 kB / 1.195 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.3045, allocations: 400 kB / 1.195 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3047, allocations: 158.6 kB / 1.195 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.3048, allocations: 110.2 kB / 1.196 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.305, allocations: 370.8 kB / 1.196 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.3054, allocations: 237.2 kB / 1.196 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.306, allocations: 457 kB / 1.197 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.307, allocations: 0.7519 MB / 1.197 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.307, allocations: 0 / 1.197 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001929/0.309, allocations: 1.042 MB / 1.198 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.309, allocations: 10.03 kB / 1.198 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.309, allocations: 11.94 kB / 1.198 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.3101, allocations: 315.9 kB / 1.199 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.3104, allocations: 103.8 kB / 1.199 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007951/0.3184, allocations: 7.474 MB / 1.206 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.3187, allocations: 32.02 kB / 1.206 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.3188, allocations: 32 kB / 1.206 GB, free: 12.73 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002913/0.3191, allocations: 237.5 kB / 1.206 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3192, allocations: 67.56 kB / 1.206 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.321, allocations: 0.8886 MB / 1.207 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.321, allocations: 8 kB / 1.207 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.321, allocations: 4 kB / 1.207 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.321, allocations: 3.984 kB / 1.207 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.3238, allocations: 1.665 MB / 1.209 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.3238, allocations: 11.92 kB / 1.209 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.324, allocations: 44.09 kB / 1.209 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009521/0.3249, allocations: 303.1 kB / 1.209 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.325, allocations: 12 kB / 1.209 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00786/0.3328, allocations: 7.468 MB / 1.217 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3329, allocations: 7.938 kB / 1.217 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.3346, allocations: 0.9957 MB / 1.218 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.3348, allocations: 176.7 kB / 1.218 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.3349, allocations: 11.95 kB / 1.218 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.3352, allocations: 23.91 kB / 1.218 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-05/0.3353, allocations: 43.89 kB / 1.218 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.3353, allocations: 16 kB / 1.218 GB, free: 8 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003653/0.3357, allocations: 310.9 kB / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3357, allocations: 0 / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006721/0.3364, allocations: 192 kB / 1.218 GB, free: 15.52 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.002061/0.3385, allocations: 1.54 MB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.3404, allocations: 1.199 MB / 1.221 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3404, allocations: 0 / 1.221 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.3417, allocations: 0.8581 MB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009856/0.3427, allocations: 206.4 kB / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008214/0.3509, allocations: 5.864 MB / 1.228 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006665/0.3516, allocations: 0.9882 MB / 1.229 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002575/0.3519, allocations: 101.2 kB / 1.229 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.3522, allocations: 227.4 kB / 1.229 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of SimCode: time 2.004e-06/0.3522, allocations: 0 / 1.229 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0507/0.4029, allocations: 15.25 MB / 1.244 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.94, allocations: 15.94 kB / 1.244 GB, free: 5.008 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_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_L.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches