Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.004407/0.004407, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001649/0.001649, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.385/1.385, 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 9.1.3-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.3 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 58.03 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2529, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005444/0.2584, allocations: 3.75 MB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003113/0.2615, allocations: 1.777 MB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003574/0.2619, allocations: 15.94 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009897/0.263, allocations: 272.4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008769/0.2638, allocations: 314.5 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.2645, allocations: 247.5 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007264/0.2653, allocations: 0.6049 MB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.2657, allocations: 258.5 kB / 1.095 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.2661, allocations: 243 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.2665, allocations: 231 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.2666, allocations: 24 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005185/0.2671, allocations: 283.4 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.2673, allocations: 115.6 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.2675, allocations: 214.8 kB / 1.096 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007478/0.2683, allocations: 0.5916 MB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2683, allocations: 0 / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2683, allocations: 0 / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2683, allocations: 0 / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001193/0.2695, allocations: 0.7473 MB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2696, allocations: 12.03 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.228e-05/0.2696, allocations: 74.7 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008865/0.2705, allocations: 132.5 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.2711, allocations: 411.9 kB / 1.097 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.2711, allocations: 25.02 kB / 1.098 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.2712, allocations: 24.38 kB / 1.098 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007564/0.272, allocations: 0.5548 MB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.272, allocations: 11.94 kB / 1.098 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.272, allocations: 19.98 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/0.2721, allocations: 40.53 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000666/0.2728, allocations: 401.8 kB / 1.099 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.2753, allocations: 3.342 MB / 1.102 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.276, allocations: 340.4 kB / 1.102 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.2763, allocations: 184.7 kB / 1.102 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.2763, allocations: 0 / 1.102 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.2764, allocations: 34.56 kB / 1.102 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.2764, allocations: 0 / 1.102 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=27): time 0.001971/0.2783, allocations: 1.065 MB / 1.103 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.2784, allocations: 59.58 kB / 1.103 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.2787, allocations: 337.6 kB / 1.104 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.2787, allocations: 29.7 kB / 1.104 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.2789, allocations: 260.1 kB / 1.104 GB, free: 464 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.279, allocations: 99.17 kB / 1.104 GB, free: 364 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.2791, allocations: 74.09 kB / 1.104 GB, free: 284 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2792, allocations: 346.8 kB / 1.105 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.2795, allocations: 144.8 kB / 1.105 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.2798, allocations: 290.5 kB / 1.105 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.2805, allocations: 486.5 kB / 1.105 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2805, allocations: 0 / 1.105 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009446/0.2814, allocations: 0.5662 MB / 1.106 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2815, allocations: 9.875 kB / 1.106 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2815, allocations: 8.031 kB / 1.106 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.2818, allocations: 82.52 kB / 1.106 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.2822, allocations: 91.81 kB / 1.106 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.2822, allocations: 15.88 kB / 1.106 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.2824, allocations: 23.97 kB / 1.106 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.2825, allocations: 20 kB / 1.106 GB, free: 14.07 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.2827, allocations: 179 kB / 1.106 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.2827, allocations: 47.72 kB / 1.106 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008358/0.2836, allocations: 464 kB / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2836, allocations: 8 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2836, allocations: 0 / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2836, allocations: 3.984 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.285, allocations: 0.963 MB / 1.108 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.285, allocations: 96 / 1.108 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.2853, allocations: 51.91 kB / 1.108 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002358/0.2855, allocations: 82.5 kB / 1.108 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.2856, allocations: 7.984 kB / 1.108 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.2856, allocations: 4 kB / 1.108 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2856, allocations: 0 / 1.108 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007975/0.2864, allocations: 0.5551 MB / 1.108 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.2865, allocations: 136.8 kB / 1.109 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.2866, allocations: 12 kB / 1.109 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2868, allocations: 27.91 kB / 1.109 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.2869, allocations: 23.97 kB / 1.109 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.2869, allocations: 4 kB / 1.109 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002069/0.2871, allocations: 235.2 kB / 1.109 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2872, allocations: 0 / 1.109 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004298/0.2876, allocations: 91.98 kB / 1.109 GB, free: 11.04 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/0.2887, allocations: 1.103 MB / 1.11 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008462/0.2896, allocations: 0.6353 MB / 1.111 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.2896, allocations: 4 kB / 1.111 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.2901, allocations: 433.8 kB / 1.111 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/0.2908, allocations: 126.6 kB / 1.111 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.2951, allocations: 3.729 MB / 1.115 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.2955, allocations: 0.8269 MB / 1.116 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002267/0.2957, allocations: 83.34 kB / 1.116 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.2959, allocations: 123.4 kB / 1.116 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of SimCode: time 1.613e-06/0.2959, allocations: 3.938 kB / 1.116 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.323, allocations: 8.316 MB / 1.124 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.654/9.977, allocations: 4 kB / 1.124 GB, free: 11.43 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_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_Loads_Examples_VariableImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches