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.004067/0.004067, allocations: 104 kB / 15.74 MB, free: 6.02 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.001184/0.001184, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.397/2.397, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 63.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5796/0.5814, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004253/0.5856, allocations: 3.265 MB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002773/0.5884, allocations: 2.014 MB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.1e-05/0.5885, allocations: 4 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007929/0.5893, allocations: 294.8 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.5897, allocations: 230.9 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.5903, allocations: 292.9 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.5907, allocations: 406.7 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.591, allocations: 207.3 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.5912, allocations: 159.5 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.5915, allocations: 195.3 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.5916, allocations: 24 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.592, allocations: 271.5 kB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.5921, allocations: 119.7 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.5922, allocations: 147.3 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005354/0.5928, allocations: 0.4901 MB / 1.228 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5928, allocations: 3.938 kB / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5928, allocations: 0 / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.5928, allocations: 0 / 1.228 GB, free: 9.934 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.0009184/0.5937, allocations: 0.5998 MB / 1.229 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.5938, allocations: 12.03 kB / 1.229 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.975e-05/0.5938, allocations: 66.7 kB / 1.229 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008702/0.5947, allocations: 116.6 kB / 1.229 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.595, allocations: 280.6 kB / 1.229 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.5951, allocations: 20.92 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.5952, allocations: 40.45 kB / 1.229 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.5958, allocations: 453 kB / 1.23 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.5958, allocations: 4 kB / 1.23 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.5959, allocations: 15.98 kB / 1.23 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.596, allocations: 40.53 kB / 1.23 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.5966, allocations: 361.9 kB / 1.23 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.599, allocations: 2.218 MB / 1.232 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.5994, allocations: 270.3 kB / 1.232 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.5996, allocations: 160.8 kB / 1.233 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.5996, allocations: 0 / 1.233 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.5997, allocations: 50.48 kB / 1.233 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 9.82e-07/0.5997, allocations: 0 / 1.233 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.001627/0.6013, allocations: 1.058 MB / 1.234 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.6013, allocations: 55.41 kB / 1.234 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.6016, allocations: 257 kB / 1.234 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.6017, allocations: 33.7 kB / 1.234 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.6018, allocations: 188.3 kB / 1.234 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.6019, allocations: 91.22 kB / 1.234 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.602, allocations: 81.62 kB / 1.234 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6021, allocations: 330.8 kB / 1.235 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.6024, allocations: 163.9 kB / 1.235 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.6027, allocations: 241.5 kB / 1.235 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.6033, allocations: 422.8 kB / 1.235 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6033, allocations: 3.938 kB / 1.235 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001122/0.6044, allocations: 0.5935 MB / 1.236 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.6045, allocations: 8 kB / 1.236 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6045, allocations: 4 kB / 1.236 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/0.6051, allocations: 184.8 kB / 1.236 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.6054, allocations: 67.89 kB / 1.236 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.6082, allocations: 2.497 MB / 1.239 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.6085, allocations: 23.95 kB / 1.239 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.6085, allocations: 23.92 kB / 1.239 GB, free: 14.29 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.0001547/0.6087, allocations: 165.8 kB / 1.239 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.6088, allocations: 27.84 kB / 1.239 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005219/0.6093, allocations: 354.2 kB / 1.239 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6093, allocations: 11.92 kB / 1.239 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-06/0.6093, allocations: 0 / 1.239 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6093, allocations: 0 / 1.239 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000986/0.6103, allocations: 0.8139 MB / 1.24 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.6103, allocations: 8.062 kB / 1.24 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.6107, allocations: 75.88 kB / 1.24 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.6107, allocations: 4 kB / 1.24 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.6107, allocations: 0 / 1.24 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.6108, allocations: 4 kB / 1.24 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6108, allocations: 0 / 1.24 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.6115, allocations: 0.6182 MB / 1.241 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.6116, allocations: 129 kB / 1.241 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.6117, allocations: 8 kB / 1.241 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.6119, allocations: 15.98 kB / 1.241 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.6119, allocations: 15.91 kB / 1.241 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.612, allocations: 12 kB / 1.241 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002126/0.6122, allocations: 188.5 kB / 1.241 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6122, allocations: 4 kB / 1.241 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003515/0.6125, allocations: 84 kB / 1.241 GB, free: 11.66 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.001025/0.6136, allocations: 1.166 MB / 1.242 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008662/0.6145, allocations: 0.5438 MB / 1.243 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6145, allocations: 4.625 kB / 1.243 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.6147, allocations: 151.9 kB / 1.243 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.6151, allocations: 51.77 kB / 1.243 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.6199, allocations: 3.703 MB / 1.247 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.6203, allocations: 0.7951 MB / 1.247 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002036/0.6205, allocations: 74.91 kB / 1.248 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.6206, allocations: 83.41 kB / 1.248 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.6206, allocations: 4 kB / 1.248 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.906/6.527, allocations: 6.934 MB / 1.254 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/19.98, allocations: 6.172 kB / 1.254 GB, free: 14.09 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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