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.001688/0.001688, 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.001946/0.001946, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.332/1.332, 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.309/2.309, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.89 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.502, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009946/0.512, allocations: 10.89 MB / 0.9604 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.5235, allocations: 8.804 MB / 0.969 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.5241, allocations: 58.75 kB / 0.969 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003833/0.528, allocations: 1.67 MB / 0.9706 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.531, allocations: 1.53 MB / 0.9721 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.5323, allocations: 0.6744 MB / 0.9728 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001953/0.5343, allocations: 2.279 MB / 0.975 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.5358, allocations: 1.385 MB / 0.9764 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.537, allocations: 0.983 MB / 0.9773 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.5381, allocations: 1.015 MB / 0.9783 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.5383, allocations: 138.1 kB / 0.9785 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.5396, allocations: 0.7951 MB / 0.9792 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004649/0.5401, allocations: 0.5667 MB / 0.9798 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007738/0.5409, allocations: 0.8898 MB / 0.9807 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.543, allocations: 2.531 MB / 0.9831 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.543, allocations: 8 kB / 0.9831 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5431, allocations: 0 / 0.9831 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.5431, allocations: 3.984 kB / 0.9831 GB, free: 15.47 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.00281/0.5459, allocations: 2.025 MB / 0.9851 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.5459, allocations: 8.031 kB / 0.9851 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.5461, allocations: 190.1 kB / 0.9853 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.5577, allocations: 2.05 MB / 0.9873 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.5594, allocations: 1.115 MB / 0.9884 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/0.5595, allocations: 86.69 kB / 0.9885 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.5597, allocations: 119.8 kB / 0.9886 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005168/0.5649, allocations: 2.482 MB / 0.991 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.5649, allocations: 11.94 kB / 0.991 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.5651, allocations: 55.98 kB / 0.9911 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003613/0.5655, allocations: 130.1 kB / 0.9912 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007378/0.5728, allocations: 2.541 MB / 0.9937 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.5846, allocations: 10.07 MB / 1.004 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006377/0.591, allocations: 1.948 MB / 1.005 GB, free: 7.66 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/0.5938, allocations: 0.9835 MB / 1.006 GB, free: 6.676 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.5939, allocations: 4.438 kB / 1.006 GB, free: 6.672 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.5939, allocations: 39 kB / 1.006 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 1.884e-06/0.5939, allocations: 0 / 1.006 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.03171/0.6256, allocations: 8.714 MB / 1.015 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.6257, allocations: 64 kB / 1.015 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.6269, allocations: 1.093 MB / 1.016 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.046e-05/0.627, allocations: 45.7 kB / 1.016 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/0.6275, allocations: 0.7417 MB / 1.017 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.6277, allocations: 272 kB / 1.017 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.6281, allocations: 198.4 kB / 1.017 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6282, allocations: 345.9 kB / 1.018 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003052/0.6313, allocations: 1.075 MB / 1.019 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00316/0.6344, allocations: 1.309 MB / 1.02 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006199/0.6407, allocations: 2.382 MB / 1.022 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6407, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008892/0.6496, allocations: 3.284 MB / 1.025 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6496, allocations: 8 kB / 1.025 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.6496, allocations: 4 kB / 1.025 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002712/0.6523, allocations: 0.7952 MB / 1.026 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.6543, allocations: 415.3 kB / 1.027 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/0.6694, allocations: 15.92 MB / 1.042 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.6716, allocations: 291.5 kB / 1.042 GB, free: 216 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.6718, allocations: 51.97 kB / 1.043 GB, free: 164 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.0006481/0.6724, allocations: 405.4 kB / 1.043 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.6727, allocations: 146.4 kB / 1.043 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008996/0.6817, allocations: 3.206 MB / 1.046 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.6817, allocations: 12 kB / 1.046 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.6817, allocations: 11.94 kB / 1.046 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.6817, allocations: 3.984 kB / 1.046 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.6924, allocations: 4.912 MB / 1.051 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.6925, allocations: 4 kB / 1.051 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/0.6942, allocations: 351.4 kB / 1.051 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002289/0.6965, allocations: 0.7094 MB / 1.052 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.574e-05/0.6966, allocations: 35.97 kB / 1.052 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/0.7111, allocations: 15.54 MB / 1.067 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.7111, allocations: 7.938 kB / 1.067 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008216/0.7193, allocations: 3.038 MB / 1.07 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005802/0.7199, allocations: 383.2 kB / 1.071 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.7201, allocations: 20.14 kB / 1.071 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/0.7221, allocations: 291.4 kB / 1.071 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.7223, allocations: 84.47 kB / 1.071 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.7224, allocations: 39.97 kB / 1.071 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008907/0.7233, allocations: 0.7405 MB / 1.072 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7233, allocations: 0 / 1.072 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001288/0.7246, allocations: 432 kB / 1.072 GB, free: 420 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.008378/0.733, allocations: 3.613 MB / 1.076 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008744/0.7417, allocations: 3.754 MB / 1.079 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7418, allocations: 4 kB / 1.079 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004931/0.7467, allocations: 2.371 MB / 1.082 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.7487, allocations: 0.5252 MB / 1.082 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03258/0.7813, allocations: 16.56 MB / 1.098 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009174/0.7822, allocations: 1.392 MB / 1.1 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001433/0.7836, allocations: 375.8 kB / 1.1 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007781/0.7844, allocations: 0.6047 MB / 1.101 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.7844, allocations: 0 / 1.101 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.502/3.286, allocations: 41.23 MB / 1.141 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/15.01, allocations: 15.83 kB / 1.141 GB, free: 9.555 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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