Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_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.007489/0.007488, allocations: 97.69 kB / 15.73 MB, free: 5.961 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.001777/0.001777, allocations: 195.3 kB / 16.67 MB, free: 5.883 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.588/2.588, allocations: 469.4 MB / 0.7422 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.88 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7164/0.7177, allocations: 159.1 MB / 1.22 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004716/0.7224, allocations: 3.267 MB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003283/0.7258, allocations: 2.018 MB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.726, allocations: 7.938 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000991/0.7271, allocations: 290.8 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006456/0.7277, allocations: 234.9 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.7285, allocations: 291.3 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000516/0.729, allocations: 410.7 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.7294, allocations: 212.1 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.7297, allocations: 159.5 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.7301, allocations: 191.3 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.7302, allocations: 24 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.7307, allocations: 271.5 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.7309, allocations: 119.7 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.731, allocations: 151.2 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006702/0.7317, allocations: 489.9 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7317, allocations: 7.922 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7318, allocations: 8 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.7318, allocations: 0 / 1.228 GB, free: 10.19 MB / 0.9512 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.001194/0.733, allocations: 0.5998 MB / 1.228 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.733, allocations: 8.625 kB / 1.228 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.627e-05/0.7331, allocations: 58.73 kB / 1.228 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.7342, allocations: 128.5 kB / 1.228 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.7347, allocations: 276.6 kB / 1.229 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.7347, allocations: 20.92 kB / 1.229 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.7348, allocations: 40.44 kB / 1.229 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/0.7356, allocations: 453.1 kB / 1.229 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.7356, allocations: 3.938 kB / 1.229 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.7356, allocations: 12 kB / 1.229 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/0.7358, allocations: 40.53 kB / 1.229 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006073/0.7364, allocations: 369.9 kB / 1.23 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.7388, allocations: 2.211 MB / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.7393, allocations: 271.9 kB / 1.232 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.7395, allocations: 160.8 kB / 1.232 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.7395, allocations: 7.984 kB / 1.232 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.7395, allocations: 34.56 kB / 1.232 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.7395, allocations: 0 / 1.232 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.001723/0.7413, allocations: 1.066 MB / 1.233 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.7413, allocations: 55.41 kB / 1.233 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.7416, allocations: 261 kB / 1.234 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.7417, allocations: 29.7 kB / 1.234 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.7418, allocations: 196.3 kB / 1.234 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.7418, allocations: 91.22 kB / 1.234 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.742, allocations: 81.58 kB / 1.234 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7421, allocations: 330.8 kB / 1.234 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.7424, allocations: 155.9 kB / 1.234 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.7427, allocations: 249.5 kB / 1.235 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.7432, allocations: 418.8 kB / 1.235 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7432, allocations: 7.938 kB / 1.235 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001141/0.7444, allocations: 0.5935 MB / 1.236 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.7444, allocations: 8 kB / 1.236 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7444, allocations: 0 / 1.236 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006728/0.7451, allocations: 188.8 kB / 1.236 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.7454, allocations: 67.89 kB / 1.236 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.7481, allocations: 2.488 MB / 1.238 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.7485, allocations: 27.91 kB / 1.238 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.7486, allocations: 16 kB / 1.238 GB, free: 14.56 MB / 0.9669 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.0001797/0.7488, allocations: 165.5 kB / 1.238 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.7488, allocations: 23.97 kB / 1.238 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.7494, allocations: 371.4 kB / 1.239 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7494, allocations: 0 / 1.239 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.7494, allocations: 4 kB / 1.239 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7494, allocations: 0 / 1.239 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.7505, allocations: 0.8062 MB / 1.24 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7505, allocations: 0 / 1.24 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.7509, allocations: 79.88 kB / 1.24 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7509, allocations: 4.062 kB / 1.24 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.7509, allocations: 11.98 kB / 1.24 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.7509, allocations: 0 / 1.24 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7509, allocations: 4 kB / 1.24 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/0.7516, allocations: 0.6159 MB / 1.24 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.7518, allocations: 133 kB / 1.24 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.7519, allocations: 12 kB / 1.24 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.7521, allocations: 11.98 kB / 1.24 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.7522, allocations: 15.92 kB / 1.24 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.7522, allocations: 8 kB / 1.241 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002151/0.7524, allocations: 188.5 kB / 1.241 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7524, allocations: 0 / 1.241 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004294/0.7528, allocations: 88 kB / 1.241 GB, free: 11.93 MB / 0.9669 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.001013/0.7539, allocations: 1.161 MB / 1.242 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009257/0.7548, allocations: 0.5457 MB / 1.242 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7548, allocations: 0 / 1.242 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.755, allocations: 154.2 kB / 1.243 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.7555, allocations: 59.06 kB / 1.243 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/0.7603, allocations: 3.699 MB / 1.246 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.7607, allocations: 0.7912 MB / 1.247 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.7609, allocations: 74.92 kB / 1.247 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.7611, allocations: 87.41 kB / 1.247 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.7611, allocations: 0 / 1.247 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.7893, allocations: 6.935 MB / 1.254 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.327/10.12, allocations: 16.59 kB / 1.254 GB, free: 14.37 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches