Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_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.007521/0.007521, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001922/0.001922, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.167/2.167, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 59.89 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7032/0.7056, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003826/0.7095, allocations: 3.27 MB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002603/0.7121, allocations: 2.016 MB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.7122, allocations: 8.719 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008066/0.7131, allocations: 289.5 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004333/0.7135, allocations: 240 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.7141, allocations: 292.3 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.7145, allocations: 404.9 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.7148, allocations: 204.4 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.715, allocations: 167.7 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.7154, allocations: 198.7 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.7154, allocations: 24.41 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.7159, allocations: 261.9 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.716, allocations: 120 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.7162, allocations: 148.3 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006489/0.7168, allocations: 495.9 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7168, allocations: 0 / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7168, allocations: 0 / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7168, allocations: 4.938 kB / 1.095 GB, free: 0.4922 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009803/0.7178, allocations: 0.6084 MB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.7179, allocations: 10.36 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.624e-05/0.718, allocations: 63.34 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.719, allocations: 115.4 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.7194, allocations: 297.2 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.7194, allocations: 18.34 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.7196, allocations: 39.25 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/0.7204, allocations: 449.7 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.7204, allocations: 5.219 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.7205, allocations: 15.48 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001534/0.7206, allocations: 39.72 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.7213, allocations: 365 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.724, allocations: 2.216 MB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.7244, allocations: 271.3 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.7247, allocations: 161.3 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.7247, allocations: 1.344 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.7247, allocations: 37.36 kB / 1.1 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 1.472e-06/0.7247, allocations: 0 / 1.1 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.001867/0.7266, allocations: 1.065 MB / 1.101 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.7267, allocations: 54.47 kB / 1.101 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.727, allocations: 253.9 kB / 1.101 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.7271, allocations: 31.89 kB / 1.101 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.7272, allocations: 199.1 kB / 1.101 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.7273, allocations: 90.62 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.7274, allocations: 77.22 kB / 1.102 GB, free: 12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7275, allocations: 332 kB / 1.102 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.7278, allocations: 155.8 kB / 1.102 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.7282, allocations: 247.7 kB / 1.102 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006037/0.7288, allocations: 408.1 kB / 1.103 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7288, allocations: 4.812 kB / 1.103 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001386/0.7302, allocations: 0.6007 MB / 1.103 GB, free: 11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.7302, allocations: 9.594 kB / 1.103 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.7303, allocations: 2.625 kB / 1.103 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006972/0.731, allocations: 196.3 kB / 1.104 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.7313, allocations: 66.08 kB / 1.104 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/0.7342, allocations: 2.496 MB / 1.106 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.7347, allocations: 21.52 kB / 1.106 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.7347, allocations: 16.22 kB / 1.106 GB, free: 9.109 MB / 0.8731 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.0001724/0.7349, allocations: 163.6 kB / 1.106 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.735, allocations: 23.73 kB / 1.106 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.7355, allocations: 355.5 kB / 1.107 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.7356, allocations: 6.375 kB / 1.107 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.7356, allocations: 0.7969 kB / 1.107 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7356, allocations: 2.25 kB / 1.107 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.7367, allocations: 0.8131 MB / 1.107 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7367, allocations: 0.6562 kB / 1.107 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.7371, allocations: 77.31 kB / 1.107 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7371, allocations: 2.688 kB / 1.107 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.7372, allocations: 7.656 kB / 1.107 GB, free: 8.285 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7372, allocations: 6.781 kB / 1.107 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.7372, allocations: 4 kB / 1.107 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007753/0.738, allocations: 0.6176 MB / 1.108 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.7382, allocations: 129.7 kB / 1.108 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.7382, allocations: 7.797 kB / 1.108 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.7385, allocations: 19.92 kB / 1.108 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.7385, allocations: 16.25 kB / 1.108 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.7386, allocations: 13.8 kB / 1.108 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000231/0.7388, allocations: 187.1 kB / 1.108 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7388, allocations: 0 / 1.108 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004255/0.7392, allocations: 86.36 kB / 1.109 GB, free: 7.688 MB / 0.8731 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.0011/0.7403, allocations: 1.161 MB / 1.11 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009738/0.7413, allocations: 0.5451 MB / 1.11 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7413, allocations: 0 / 1.11 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.7416, allocations: 148.5 kB / 1.11 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.742, allocations: 52.12 kB / 1.11 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005489/0.7475, allocations: 3.697 MB / 1.114 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.7479, allocations: 0.7905 MB / 1.115 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.7482, allocations: 79.61 kB / 1.115 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.7484, allocations: 86.23 kB / 1.115 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/0.7484, allocations: 0 / 1.115 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.7731, allocations: 6.922 MB / 1.122 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.284/10.06, allocations: 19.72 kB / 1.122 GB, free: 2.617 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches