Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 112.3 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 443.5 MB / 0.7287 GB, free: 13.4 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 75.88 kB / 1.056 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.848/0.85, allocations: 160.7 MB / 1.213 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005256/0.8552, allocations: 3.105 MB / 1.216 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003382/0.8586, allocations: 1.942 MB / 1.218 GB, free: 16 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.8588, allocations: 8.438 kB / 1.218 GB, free: 12 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.86, allocations: 292.2 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005764/0.8606, allocations: 191 kB / 1.218 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007618/0.8613, allocations: 252.5 kB / 1.219 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004982/0.8618, allocations: 326.5 kB / 1.219 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.8621, allocations: 149.8 kB / 1.219 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.8624, allocations: 128.7 kB / 1.219 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.8628, allocations: 159.2 kB / 1.219 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.8628, allocations: 21.19 kB / 1.219 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007431/0.8636, allocations: 415.1 kB / 1.22 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.8637, allocations: 85.55 kB / 1.22 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.8638, allocations: 123.3 kB / 1.22 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008486/0.8647, allocations: 497.9 kB / 1.22 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8647, allocations: 5 kB / 1.22 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.153e-06/0.8647, allocations: 3.938 kB / 1.22 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.8647, allocations: 0 / 1.22 GB, free: 14.36 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.001249/0.8659, allocations: 0.5655 MB / 1.221 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.866, allocations: 10.88 kB / 1.221 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.756e-05/0.8661, allocations: 54.55 kB / 1.221 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009261/0.867, allocations: 116.5 kB / 1.221 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.8675, allocations: 275.2 kB / 1.221 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.8676, allocations: 12.88 kB / 1.221 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.017e-05/0.8676, allocations: 21.31 kB / 1.221 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.8683, allocations: 354.4 kB / 1.222 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.8684, allocations: 8.984 kB / 1.222 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.8684, allocations: 6.219 kB / 1.222 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.344e-05/0.8685, allocations: 26.45 kB / 1.222 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.869, allocations: 289.4 kB / 1.222 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.8718, allocations: 1.739 MB / 1.224 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/0.8723, allocations: 308.2 kB / 1.224 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.8725, allocations: 108.3 kB / 1.224 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.8726, allocations: 90.33 kB / 1.224 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.8726, allocations: 45 kB / 1.224 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.8726, allocations: 0 / 1.224 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.002827/0.8755, allocations: 0.9623 MB / 1.225 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.8755, allocations: 92.67 kB / 1.225 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.8758, allocations: 210.3 kB / 1.225 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.8758, allocations: 27.33 kB / 1.226 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.876, allocations: 181.9 kB / 1.226 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.876, allocations: 85.2 kB / 1.226 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.8761, allocations: 58.73 kB / 1.226 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8763, allocations: 331.9 kB / 1.226 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.8765, allocations: 135 kB / 1.226 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.8768, allocations: 205.5 kB / 1.226 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.8773, allocations: 369.2 kB / 1.227 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8773, allocations: 1.375 kB / 1.227 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009638/0.8783, allocations: 0.5061 MB / 1.227 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.8783, allocations: 5.562 kB / 1.227 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.8783, allocations: 10.64 kB / 1.227 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/0.8789, allocations: 158.7 kB / 1.227 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.8791, allocations: 51.69 kB / 1.228 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/0.8828, allocations: 4.188 MB / 1.232 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.8831, allocations: 19.97 kB / 1.232 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.8831, allocations: 12.09 kB / 1.232 GB, free: 4.195 MB / 0.9356 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.0002692/0.8834, allocations: 173.8 kB / 1.232 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.73e-05/0.8835, allocations: 23.86 kB / 1.232 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009902/0.8845, allocations: 478.4 kB / 1.232 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.8845, allocations: 4 kB / 1.232 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8845, allocations: 0 / 1.232 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.8845, allocations: 3.984 kB / 1.232 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.8863, allocations: 0.9998 MB / 1.233 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8863, allocations: 0 / 1.233 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.8864, allocations: 35.92 kB / 1.233 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.8868, allocations: 147.6 kB / 1.233 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.8868, allocations: 8 kB / 1.233 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/0.8903, allocations: 4.167 MB / 1.238 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8903, allocations: 0 / 1.238 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/0.8912, allocations: 0.6165 MB / 1.238 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.8914, allocations: 132.9 kB / 1.238 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.8914, allocations: 4 kB / 1.238 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.8917, allocations: 23.97 kB / 1.238 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.8917, allocations: 19.98 kB / 1.238 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.8918, allocations: 15.94 kB / 1.238 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001655/0.8919, allocations: 156.2 kB / 1.238 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8919, allocations: 3.938 kB / 1.238 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005613/0.8925, allocations: 87.94 kB / 1.239 GB, free: 12.58 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.001286/0.8938, allocations: 1.2 MB / 1.24 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00099/0.8948, allocations: 0.5619 MB / 1.24 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.8948, allocations: 128 / 1.24 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005646/0.8953, allocations: 404 kB / 1.241 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.8958, allocations: 43.75 kB / 1.241 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.9004, allocations: 3.309 MB / 1.244 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.9008, allocations: 0.7829 MB / 1.245 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.901, allocations: 62.23 kB / 1.245 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.9011, allocations: 75.41 kB / 1.245 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of SimCode: time 6.21e-07/0.9011, allocations: 0 / 1.245 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.9387, allocations: 6.766 MB / 1.251 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.49, allocations: 23.5 kB / 1.251 GB, free: 15.19 MB / 0.9669 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.519967580214143]