Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_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.007939/0.007939, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.002215/0.002215, allocations: 202.4 kB / 16.68 MB, free: 5.965 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.872/2.872, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 64.12 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3281, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004823/0.333, allocations: 3.287 MB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003247/0.3363, allocations: 2.006 MB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.3365, allocations: 7.938 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009915/0.3375, allocations: 298.8 kB / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005615/0.338, allocations: 223 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.3388, allocations: 302.8 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.3393, allocations: 402.7 kB / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.3397, allocations: 212.2 kB / 1.227 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.3399, allocations: 159.5 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.3403, allocations: 199.3 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.3404, allocations: 24 kB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000481/0.3409, allocations: 267.5 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.341, allocations: 115.6 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.3412, allocations: 151.2 kB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006285/0.3418, allocations: 498.3 kB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3418, allocations: 3.938 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3418, allocations: 0 / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.3419, allocations: 0 / 1.228 GB, free: 6.176 MB / 0.9825 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.00109/0.343, allocations: 0.6037 MB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.343, allocations: 12.03 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.814e-05/0.3431, allocations: 54.73 kB / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009701/0.3441, allocations: 128.5 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.3445, allocations: 281.2 kB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.3445, allocations: 20.92 kB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.3446, allocations: 44.44 kB / 1.229 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/0.3453, allocations: 453.1 kB / 1.23 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.3454, allocations: 7.938 kB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.3454, allocations: 4 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/0.3455, allocations: 44.53 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.3462, allocations: 365.9 kB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.3488, allocations: 2.211 MB / 1.232 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.3493, allocations: 266.4 kB / 1.232 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.3495, allocations: 169.9 kB / 1.233 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3495, allocations: 0 / 1.233 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3496, allocations: 38.56 kB / 1.233 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.3496, allocations: 0 / 1.233 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.001846/0.3514, allocations: 1.058 MB / 1.234 GB, free: 40 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.3515, allocations: 55.39 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.3518, allocations: 265 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.3519, allocations: 33.64 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.352, allocations: 192.3 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.3521, allocations: 91.22 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.3522, allocations: 77.64 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3524, allocations: 330.8 kB / 1.235 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.3527, allocations: 163.9 kB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.353, allocations: 249.5 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.3536, allocations: 406.8 kB / 1.235 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3537, allocations: 3.938 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001213/0.3549, allocations: 0.6051 MB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3549, allocations: 10.19 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.3549, allocations: 4 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000711/0.3556, allocations: 188.8 kB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.356, allocations: 63.89 kB / 1.236 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.359, allocations: 2.489 MB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.3594, allocations: 24.11 kB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.3595, allocations: 19.94 kB / 1.239 GB, free: 10.55 MB / 0.9981 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.0002096/0.3597, allocations: 171.5 kB / 1.239 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.3598, allocations: 27.86 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005906/0.3604, allocations: 353.5 kB / 1.239 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.3604, allocations: 7.984 kB / 1.239 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.3604, allocations: 0 / 1.239 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3604, allocations: 0 / 1.239 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.3615, allocations: 0.8062 MB / 1.24 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.3615, allocations: 4.062 kB / 1.24 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.3619, allocations: 79.88 kB / 1.24 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3619, allocations: 4 kB / 1.24 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.362, allocations: 7.938 kB / 1.24 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.362, allocations: 7.984 kB / 1.24 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.362, allocations: 0 / 1.24 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/0.3628, allocations: 0.6105 MB / 1.241 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.3629, allocations: 128.9 kB / 1.241 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.363, allocations: 12.08 kB / 1.241 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.3632, allocations: 15.98 kB / 1.241 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3632, allocations: 19.91 kB / 1.241 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.3633, allocations: 12 kB / 1.241 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002429/0.3635, allocations: 188.5 kB / 1.241 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3635, allocations: 0 / 1.241 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004289/0.364, allocations: 88 kB / 1.241 GB, free: 7.906 MB / 0.9981 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.001138/0.3651, allocations: 1.153 MB / 1.242 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009925/0.3661, allocations: 0.5475 MB / 1.243 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3661, allocations: 4 kB / 1.243 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.3663, allocations: 146.7 kB / 1.243 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.3668, allocations: 58.34 kB / 1.243 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005357/0.3722, allocations: 3.709 MB / 1.247 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.3726, allocations: 0.799 MB / 1.247 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002325/0.3729, allocations: 78.84 kB / 1.248 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.373, allocations: 79.41 kB / 1.248 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/0.373, allocations: 0 / 1.248 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6206/0.9937, allocations: 6.91 MB / 1.254 GB, free: 29.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/11.07, allocations: 21.16 kB / 1.254 GB, free: 29.57 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches