Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.001608/0.001608, 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.001796/0.001796, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.348/1.348, 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 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437.1 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 67.89 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5025, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004445/0.507, allocations: 3.265 MB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002846/0.5099, allocations: 2.019 MB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.976e-05/0.51, allocations: 7.938 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008347/0.5109, allocations: 286.8 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004184/0.5113, allocations: 231 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.5119, allocations: 291.3 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.5122, allocations: 418.6 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.5126, allocations: 200.2 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.5128, allocations: 155.5 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.5131, allocations: 203.3 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.5131, allocations: 24 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.5135, allocations: 259.5 kB / 1.025 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.5136, allocations: 123.6 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.5138, allocations: 151.2 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.5143, allocations: 484.9 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5143, allocations: 0 / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5143, allocations: 0 / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5143, allocations: 4 kB / 1.025 GB, free: 10.4 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000978/0.5153, allocations: 0.6043 MB / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5154, allocations: 8.031 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.6e-05/0.5154, allocations: 62.7 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/0.5164, allocations: 116.4 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.5167, allocations: 276.5 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.5168, allocations: 20.94 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.5169, allocations: 44.38 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.5176, allocations: 449.1 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.5176, allocations: 0 / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.5176, allocations: 15.94 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.5178, allocations: 40.53 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/0.5184, allocations: 357.9 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.5208, allocations: 2.234 MB / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.5212, allocations: 266.4 kB / 1.03 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.5214, allocations: 164.8 kB / 1.03 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.5214, allocations: 4 kB / 1.03 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.5215, allocations: 38.56 kB / 1.03 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.5215, allocations: 0 / 1.03 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0017/0.5232, allocations: 1.052 MB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.5232, allocations: 59.41 kB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.5235, allocations: 253 kB / 1.031 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.5236, allocations: 29.7 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5237, allocations: 187.9 kB / 1.031 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.5238, allocations: 82.8 kB / 1.031 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.5239, allocations: 81.58 kB / 1.032 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.524, allocations: 334.8 kB / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.5243, allocations: 155.9 kB / 1.032 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.5246, allocations: 249.4 kB / 1.032 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/0.5252, allocations: 414.8 kB / 1.033 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5252, allocations: 3.938 kB / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001173/0.5264, allocations: 0.5964 MB / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5264, allocations: 5.719 kB / 1.033 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5264, allocations: 7.984 kB / 1.033 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006732/0.5271, allocations: 184.9 kB / 1.033 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.5274, allocations: 67.89 kB / 1.033 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.5302, allocations: 2.5 MB / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.5306, allocations: 23.97 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.5306, allocations: 12 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.5308, allocations: 169.6 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.5309, allocations: 23.72 kB / 1.036 GB, free: 14.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.5314, allocations: 353 kB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5314, allocations: 4 kB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5314, allocations: 0 / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5314, allocations: 12.02 kB / 1.036 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009999/0.5324, allocations: 0.8161 MB / 1.037 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5324, allocations: 0 / 1.037 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.5329, allocations: 76 kB / 1.037 GB, free: 13.28 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5329, allocations: 11.94 kB / 1.037 GB, free: 13.27 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.5329, allocations: 8 kB / 1.037 GB, free: 13.26 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5329, allocations: 3.938 kB / 1.037 GB, free: 13.26 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5329, allocations: 0 / 1.037 GB, free: 13.26 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007173/0.5337, allocations: 0.6179 MB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.5338, allocations: 124.8 kB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.5338, allocations: 8 kB / 1.038 GB, free: 12.47 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.5341, allocations: 19.97 kB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.5342, allocations: 19.86 kB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.5342, allocations: 8 kB / 1.038 GB, free: 12.42 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002183/0.5344, allocations: 188.5 kB / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5344, allocations: 0 / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004104/0.5348, allocations: 84 kB / 1.038 GB, free: 12.16 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009981/0.5358, allocations: 1.16 MB / 1.04 GB, free: 10.97 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009599/0.5368, allocations: 0.5724 MB / 1.04 GB, free: 10.38 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.5368, allocations: 0 / 1.04 GB, free: 10.38 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.537, allocations: 147.9 kB / 1.04 GB, free: 10.24 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.5375, allocations: 58.34 kB / 1.04 GB, free: 10.19 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004941/0.5424, allocations: 3.691 MB / 1.044 GB, free: 6.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.5428, allocations: 0.7912 MB / 1.045 GB, free: 5.523 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002419/0.543, allocations: 86.88 kB / 1.045 GB, free: 5.441 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.5432, allocations: 87.34 kB / 1.045 GB, free: 5.355 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.5432, allocations: 0 / 1.045 GB, free: 5.355 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.567, allocations: 6.805 MB / 1.051 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.006/9.573, allocations: 14.75 kB / 1.052 GB, free: 14.68 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_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_DynamicLoads.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches