Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001749/0.001749, allocations: 108 kB / 15.61 MB, free: 152 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.001898/0.001898, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.59 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2495, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006991/0.2566, allocations: 6.074 MB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004804/0.2614, allocations: 3.157 MB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.2619, allocations: 27.81 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.2644, allocations: 0.9181 MB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.2655, allocations: 485.4 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.2668, allocations: 485.4 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.2681, allocations: 1.085 MB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.2693, allocations: 0.643 MB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008671/0.2702, allocations: 430.4 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007082/0.2709, allocations: 478.1 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.271, allocations: 59.98 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009697/0.272, allocations: 487 kB / 1.078 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.2724, allocations: 291.2 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.2729, allocations: 394 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.2745, allocations: 1.164 MB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2746, allocations: 0 / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2746, allocations: 0 / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.627e-05/0.2746, allocations: 4 kB / 1.079 GB, free: 14.35 MB / 0.8419 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.00177/0.2764, allocations: 1.044 MB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2764, allocations: 12.03 kB / 1.08 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.2766, allocations: 114.7 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.2781, allocations: 227.6 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009104/0.2791, allocations: 0.5259 MB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.2791, allocations: 49.67 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.2792, allocations: 60.36 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.2808, allocations: 1.034 MB / 1.082 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.2808, allocations: 7.938 kB / 1.082 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.281, allocations: 31.98 kB / 1.082 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.78e-05/0.2811, allocations: 69.27 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.2822, allocations: 0.6918 MB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00514/0.2873, allocations: 5.76 MB / 1.089 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/0.2882, allocations: 0.598 MB / 1.089 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000754/0.289, allocations: 416.5 kB / 1.09 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.289, allocations: 4 kB / 1.09 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.2891, allocations: 42.55 kB / 1.09 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/0.2891, allocations: 0 / 1.09 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004268/0.2933, allocations: 2.05 MB / 1.092 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.2934, allocations: 63.41 kB / 1.092 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.2938, allocations: 450.8 kB / 1.092 GB, free: 328 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.2939, allocations: 37.64 kB / 1.092 GB, free: 284 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.2941, allocations: 387.2 kB / 1.093 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.2943, allocations: 153.8 kB / 1.093 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.2945, allocations: 110.2 kB / 1.093 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.2947, allocations: 358.8 kB / 1.093 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.2951, allocations: 253.2 kB / 1.094 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.2956, allocations: 457 kB / 1.094 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/0.2966, allocations: 0.7597 MB / 1.095 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2966, allocations: 0 / 1.095 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001924/0.2985, allocations: 1.07 MB / 1.096 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2986, allocations: 8 kB / 1.096 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.2986, allocations: 8 kB / 1.096 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.2996, allocations: 327.2 kB / 1.096 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.2999, allocations: 99.77 kB / 1.096 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007119/0.3071, allocations: 7.521 MB / 1.104 GB, free: 4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.3075, allocations: 31.97 kB / 1.104 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.3075, allocations: 24 kB / 1.104 GB, free: 3.945 MB / 0.8575 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.0002993/0.3078, allocations: 250 kB / 1.104 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/0.3079, allocations: 59.34 kB / 1.104 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.3096, allocations: 0.9119 MB / 1.105 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3097, allocations: 4 kB / 1.105 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3097, allocations: 4 kB / 1.105 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3097, allocations: 3.984 kB / 1.105 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.3122, allocations: 1.704 MB / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3123, allocations: 0 / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.3124, allocations: 52.22 kB / 1.107 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009658/0.3134, allocations: 323.1 kB / 1.107 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.3134, allocations: 8 kB / 1.107 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007626/0.3211, allocations: 7.525 MB / 1.114 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3211, allocations: 0 / 1.114 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.3228, allocations: 1.009 MB / 1.115 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.3231, allocations: 184.3 kB / 1.115 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.528e-05/0.3232, allocations: 8 kB / 1.115 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.3234, allocations: 15.98 kB / 1.115 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.3236, allocations: 47.88 kB / 1.115 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.3236, allocations: 16 kB / 1.115 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003481/0.324, allocations: 302.8 kB / 1.116 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.324, allocations: 0 / 1.116 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007967/0.3248, allocations: 200 kB / 1.116 GB, free: 6.59 MB / 0.8731 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.00197/0.3267, allocations: 1.573 MB / 1.117 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.3286, allocations: 1.242 MB / 1.119 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.3287, allocations: 0 / 1.119 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.3299, allocations: 0.8699 MB / 1.12 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.331, allocations: 206.9 kB / 1.12 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008201/0.3392, allocations: 5.954 MB / 1.126 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/0.3399, allocations: 0.9843 MB / 1.126 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003249/0.3403, allocations: 105.1 kB / 1.127 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.3405, allocations: 227.4 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of SimCode: time 6.62e-07/0.3405, allocations: 0 / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05795/0.3985, allocations: 15.17 MB / 1.142 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.275/9.674, allocations: 14.62 kB / 1.142 GB, free: 12 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches