Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_10_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.001095/0.001095, 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.001127/0.001127, allocations: 194.6 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.555/2.555, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6426/0.6439, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006737/0.6507, allocations: 3.737 MB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003092/0.6539, allocations: 1.8 MB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.6542, allocations: 19.88 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009117/0.6551, allocations: 270.6 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007402/0.6559, allocations: 286.5 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.6565, allocations: 255.4 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008035/0.6574, allocations: 0.6011 MB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.6579, allocations: 258.5 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.6583, allocations: 231.1 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004646/0.6588, allocations: 231 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.649e-05/0.6589, allocations: 24 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007037/0.6596, allocations: 279.4 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.6599, allocations: 123.6 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.6602, allocations: 210.8 kB / 1.026 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.6613, allocations: 0.5901 MB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6613, allocations: 0 / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.019e-06/0.6613, allocations: 0 / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.486e-05/0.6613, allocations: 3.938 kB / 1.026 GB, free: 9.59 MB / 0.7794 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.001538/0.6629, allocations: 0.7246 MB / 1.027 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.6629, allocations: 16.02 kB / 1.027 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.934e-05/0.663, allocations: 74.72 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009683/0.664, allocations: 124.2 kB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.6645, allocations: 391.5 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.6645, allocations: 21.03 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.6646, allocations: 32.36 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000804/0.6654, allocations: 0.5508 MB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.6655, allocations: 0 / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.6655, allocations: 16 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.084e-05/0.6656, allocations: 40.53 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007865/0.6664, allocations: 413.7 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/0.6696, allocations: 3.341 MB / 1.032 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.6703, allocations: 334.5 kB / 1.032 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.6706, allocations: 180.7 kB / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.6706, allocations: 0 / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.6707, allocations: 38.56 kB / 1.032 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.462e-06/0.6707, allocations: 0 / 1.032 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.002148/0.6728, allocations: 1.055 MB / 1.033 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.6729, allocations: 55.64 kB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.6733, allocations: 345.5 kB / 1.034 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.6733, allocations: 33.64 kB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.6734, allocations: 243.6 kB / 1.034 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.6735, allocations: 98.58 kB / 1.034 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.6737, allocations: 82.03 kB / 1.034 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6738, allocations: 342.8 kB / 1.034 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.6741, allocations: 156.7 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.6745, allocations: 294.5 kB / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.6752, allocations: 476.9 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6752, allocations: 7.938 kB / 1.035 GB, free: 15.49 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009968/0.6762, allocations: 0.5627 MB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6762, allocations: 8 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6763, allocations: 4 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/0.6766, allocations: 94.44 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.6769, allocations: 84.22 kB / 1.036 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.677, allocations: 19.88 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.6772, allocations: 27.97 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.6772, allocations: 16 kB / 1.036 GB, free: 14.66 MB / 0.795 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.0001824/0.6774, allocations: 165.8 kB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.6775, allocations: 43.52 kB / 1.036 GB, free: 14.44 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00088/0.6784, allocations: 471.9 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6784, allocations: 4 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6784, allocations: 0 / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6784, allocations: 0 / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.6799, allocations: 0.9597 MB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.68, allocations: 0 / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.6802, allocations: 51.89 kB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.6805, allocations: 82.52 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.6805, allocations: 12.09 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6805, allocations: 4 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6805, allocations: 3.984 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.6813, allocations: 0.5389 MB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.6815, allocations: 140.6 kB / 1.038 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.6815, allocations: 7.984 kB / 1.038 GB, free: 12.03 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.6818, allocations: 23.92 kB / 1.038 GB, free: 12.01 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.6819, allocations: 31.83 kB / 1.039 GB, free: 11.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.6819, allocations: 8 kB / 1.039 GB, free: 11.97 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002291/0.6821, allocations: 239.1 kB / 1.039 GB, free: 11.74 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6821, allocations: 4 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004135/0.6825, allocations: 84 kB / 1.039 GB, free: 11.65 MB / 0.795 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.001153/0.6837, allocations: 1.091 MB / 1.04 GB, free: 10.52 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009976/0.6847, allocations: 0.6627 MB / 1.041 GB, free: 9.793 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6847, allocations: 0 / 1.041 GB, free: 9.793 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004935/0.6852, allocations: 433.6 kB / 1.041 GB, free: 9.305 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.686, allocations: 128.1 kB / 1.041 GB, free: 9.188 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/0.6914, allocations: 3.754 MB / 1.045 GB, free: 5.191 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.692, allocations: 0.8231 MB / 1.046 GB, free: 4.344 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004353/0.6924, allocations: 87.33 kB / 1.046 GB, free: 4.258 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.6927, allocations: 127.4 kB / 1.046 GB, free: 4.133 MB / 0.795 GB Notification: Performance of SimCode: time 6.01e-07/0.6928, allocations: 0 / 1.046 GB, free: 4.133 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.7308, allocations: 8.183 MB / 1.054 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.337/10.07, allocations: 6.75 kB / 1.054 GB, free: 12.14 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches