Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.008201/0.008201, allocations: 99.77 kB / 15.73 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.002175/0.002175, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.547/2.547, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 71.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6193/0.6211, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004358/0.6255, allocations: 3.082 MB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.6282, allocations: 1.908 MB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.6284, allocations: 4 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008118/0.6292, allocations: 278.9 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.6296, allocations: 199 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.6301, allocations: 239.3 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000357/0.6305, allocations: 330.9 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.6308, allocations: 181 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.631, allocations: 135.5 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.6312, allocations: 147.5 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.6313, allocations: 20 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005906/0.6319, allocations: 407.2 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.351e-05/0.632, allocations: 83.78 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.6321, allocations: 119.4 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000604/0.6327, allocations: 494 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.6328, allocations: 4 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6328, allocations: 3.938 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.6328, allocations: 0 / 1.228 GB, free: 10.45 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008044/0.6336, allocations: 0.5608 MB / 1.228 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.6336, allocations: 8.031 kB / 1.228 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.206e-05/0.6337, allocations: 62.66 kB / 1.228 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007509/0.6344, allocations: 116.6 kB / 1.228 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.6348, allocations: 266.6 kB / 1.229 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.6348, allocations: 16.81 kB / 1.229 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.6348, allocations: 24.36 kB / 1.229 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.6354, allocations: 345.3 kB / 1.229 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.6354, allocations: 0 / 1.229 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.6354, allocations: 15.98 kB / 1.229 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/0.6355, allocations: 20.42 kB / 1.229 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.6359, allocations: 297.5 kB / 1.229 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.6379, allocations: 1.741 MB / 1.231 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.6384, allocations: 326.1 kB / 1.231 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.6386, allocations: 109.6 kB / 1.231 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.6387, allocations: 85.09 kB / 1.231 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.6387, allocations: 34.56 kB / 1.231 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.6387, allocations: 0 / 1.231 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.002346/0.6411, allocations: 0.9754 MB / 1.232 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.6411, allocations: 88.98 kB / 1.232 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.6413, allocations: 203.8 kB / 1.233 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.6414, allocations: 33.7 kB / 1.233 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.6415, allocations: 180.5 kB / 1.233 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/0.6416, allocations: 79.27 kB / 1.233 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.6417, allocations: 65.69 kB / 1.233 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6418, allocations: 326.9 kB / 1.233 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.642, allocations: 135.9 kB / 1.233 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.6423, allocations: 222.9 kB / 1.234 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.6427, allocations: 360.3 kB / 1.234 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6427, allocations: 0 / 1.234 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008466/0.6436, allocations: 0.5089 MB / 1.235 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.6436, allocations: 8 kB / 1.235 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.6436, allocations: 4 kB / 1.235 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/0.6441, allocations: 147.5 kB / 1.235 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.6444, allocations: 59.91 kB / 1.235 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.6476, allocations: 4.198 MB / 1.239 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.6478, allocations: 20.02 kB / 1.239 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.6478, allocations: 15.94 kB / 1.239 GB, free: 13.99 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.648, allocations: 165.7 kB / 1.239 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.6481, allocations: 23.92 kB / 1.239 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008584/0.6489, allocations: 476 kB / 1.239 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.649, allocations: 4 kB / 1.239 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.649, allocations: 4 kB / 1.239 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.649, allocations: 4 kB / 1.239 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.6505, allocations: 1.002 MB / 1.24 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.6505, allocations: 0 / 1.24 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.6507, allocations: 35.92 kB / 1.241 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000388/0.6511, allocations: 139.5 kB / 1.241 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.6511, allocations: 19.92 kB / 1.241 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.6541, allocations: 4.159 MB / 1.245 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.6541, allocations: 4 kB / 1.245 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/0.6549, allocations: 0.6213 MB / 1.245 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.6551, allocations: 128.9 kB / 1.245 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.6551, allocations: 8 kB / 1.245 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.6553, allocations: 11.98 kB / 1.245 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.6554, allocations: 31.91 kB / 1.246 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.6554, allocations: 12 kB / 1.246 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001414/0.6556, allocations: 157.5 kB / 1.246 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6556, allocations: 0 / 1.246 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004668/0.656, allocations: 91.92 kB / 1.246 GB, free: 6.387 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/0.6572, allocations: 1.204 MB / 1.247 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008984/0.6581, allocations: 0.5869 MB / 1.247 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6581, allocations: 3.938 kB / 1.248 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.6586, allocations: 402.1 kB / 1.248 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.6591, allocations: 50.16 kB / 1.248 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.663, allocations: 3.321 MB / 1.251 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.6634, allocations: 0.7831 MB / 1.252 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.6636, allocations: 66.22 kB / 1.252 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.6637, allocations: 67.42 kB / 1.252 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.6637, allocations: 0 / 1.252 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.105/2.769, allocations: 6.702 MB / 1.259 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/19.73, allocations: 8.062 kB / 1.259 GB, free: 9.004 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches