Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_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.008756/0.008756, allocations: 96.84 kB / 15.73 MB, free: 6.055 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.002225/0.002225, allocations: 192.8 kB / 16.67 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.527/2.527, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 64.05 kB / 1.054 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7102/0.7123, allocations: 157.4 MB / 1.207 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004393/0.7167, allocations: 3.088 MB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002756/0.7195, allocations: 1.908 MB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.7197, allocations: 7.938 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008807/0.7206, allocations: 274.9 kB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.7211, allocations: 195.1 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.7217, allocations: 239.3 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.7221, allocations: 326.9 kB / 1.213 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.7224, allocations: 183.2 kB / 1.213 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.7226, allocations: 139.5 kB / 1.213 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.7229, allocations: 143.5 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.7229, allocations: 20 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.7235, allocations: 407.2 kB / 1.214 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.7236, allocations: 83.73 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.7238, allocations: 123.4 kB / 1.214 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.7244, allocations: 486.6 kB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7244, allocations: 8 kB / 1.215 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7244, allocations: 3.938 kB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.7245, allocations: 0 / 1.215 GB, free: 6.086 MB / 0.9356 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.0008912/0.7254, allocations: 0.5498 MB / 1.215 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.7254, allocations: 8.031 kB / 1.215 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.227e-05/0.7255, allocations: 62.7 kB / 1.215 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/0.7263, allocations: 116.5 kB / 1.215 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.7267, allocations: 273.8 kB / 1.216 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.7267, allocations: 16.8 kB / 1.216 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.7267, allocations: 20.38 kB / 1.216 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.7272, allocations: 353.2 kB / 1.216 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.7272, allocations: 0 / 1.216 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.7273, allocations: 12 kB / 1.216 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.7273, allocations: 20.42 kB / 1.216 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.7278, allocations: 301.4 kB / 1.216 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.7297, allocations: 1.729 MB / 1.218 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.7301, allocations: 322.1 kB / 1.218 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.7303, allocations: 109.6 kB / 1.218 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.586e-05/0.7304, allocations: 89.08 kB / 1.218 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.7304, allocations: 42.5 kB / 1.219 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.7304, allocations: 0 / 1.219 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.002298/0.7327, allocations: 0.9559 MB / 1.219 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.7328, allocations: 93.02 kB / 1.22 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.733, allocations: 207.8 kB / 1.22 GB, free: 436 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.7331, allocations: 29.7 kB / 1.22 GB, free: 400 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.7332, allocations: 172.1 kB / 1.22 GB, free: 220 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.7332, allocations: 78.84 kB / 1.22 GB, free: 140 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.865e-05/0.7333, allocations: 69.53 kB / 1.22 GB, free: 64 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7335, allocations: 326.8 kB / 1.22 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.7337, allocations: 131.9 kB / 1.221 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.7339, allocations: 217.2 kB / 1.221 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.7343, allocations: 362 kB / 1.221 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7344, allocations: 4 kB / 1.221 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008218/0.7352, allocations: 0.5152 MB / 1.222 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.7352, allocations: 4.312 kB / 1.222 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.7352, allocations: 8 kB / 1.222 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/0.7357, allocations: 143.3 kB / 1.222 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.736, allocations: 59.91 kB / 1.222 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.7387, allocations: 4.186 MB / 1.226 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.7389, allocations: 20.02 kB / 1.226 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.739, allocations: 19.92 kB / 1.226 GB, free: 9.656 MB / 0.9512 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.0001634/0.7391, allocations: 169.8 kB / 1.226 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.7392, allocations: 15.81 kB / 1.226 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007944/0.74, allocations: 482.5 kB / 1.227 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.74, allocations: 4 kB / 1.227 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.74, allocations: 0 / 1.227 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7401, allocations: 0 / 1.227 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.7415, allocations: 1.014 MB / 1.228 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.7415, allocations: 4 kB / 1.228 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.7416, allocations: 31.92 kB / 1.228 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003709/0.742, allocations: 143.6 kB / 1.228 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.7421, allocations: 11.94 kB / 1.228 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.7446, allocations: 4.159 MB / 1.232 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7446, allocations: 4 kB / 1.232 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/0.7453, allocations: 0.6164 MB / 1.232 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.7455, allocations: 132.7 kB / 1.233 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.7455, allocations: 8 kB / 1.233 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.7457, allocations: 11.98 kB / 1.233 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.7458, allocations: 23.97 kB / 1.233 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.7458, allocations: 12 kB / 1.233 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001291/0.7459, allocations: 157.5 kB / 1.233 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7459, allocations: 0 / 1.233 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004692/0.7464, allocations: 92 kB / 1.233 GB, free: 2.066 MB / 0.9512 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.001012/0.7474, allocations: 1.194 MB / 1.234 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000831/0.7483, allocations: 0.5866 MB / 1.235 GB, free: 200 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7483, allocations: 64 / 1.235 GB, free: 200 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.7488, allocations: 401.2 kB / 1.235 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.7493, allocations: 47.11 kB / 1.235 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.7531, allocations: 3.329 MB / 1.238 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.7534, allocations: 0.787 MB / 1.239 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.7536, allocations: 58.23 kB / 1.239 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.7537, allocations: 71.41 kB / 1.239 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of SimCode: time 1.643e-06/0.7537, allocations: 0 / 1.239 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04026/0.794, allocations: 6.804 MB / 1.246 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.93, allocations: 0.5938 kB / 1.246 GB, free: 4.613 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches