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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 106.8 kB / 17.54 MB, free: 4.781 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.001392/0.001392, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.278/1.278, allocations: 225.6 MB / 249.3 MB, free: 3.23 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.462/2.462, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 71.86 kB / 1.107 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7663, allocations: 168.7 MB / 1.271 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003653/0.7699, allocations: 3.189 MB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.7722, allocations: 1.979 MB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.704e-05/0.7722, allocations: 8.094 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.773, allocations: 297.3 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.7733, allocations: 195.7 kB / 1.277 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.7738, allocations: 239.6 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.7741, allocations: 331 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.7743, allocations: 135.6 kB / 1.278 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.7744, allocations: 128.4 kB / 1.278 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.7747, allocations: 165.3 kB / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.7747, allocations: 20.69 kB / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005332/0.7753, allocations: 410 kB / 1.278 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.7754, allocations: 89.34 kB / 1.278 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.7755, allocations: 122.7 kB / 1.278 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.776, allocations: 494.6 kB / 1.279 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.776, allocations: 0.7969 kB / 1.279 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.776, allocations: 0 / 1.279 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.776, allocations: 4.938 kB / 1.279 GB, free: 3.16 MB / 0.9981 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.0006504/0.7767, allocations: 0.5614 MB / 1.279 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.7767, allocations: 8.938 kB / 1.279 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.7768, allocations: 60.7 kB / 1.28 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007421/0.7775, allocations: 110 kB / 1.28 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.7778, allocations: 274.9 kB / 1.28 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.7778, allocations: 15.97 kB / 1.28 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.7778, allocations: 17.38 kB / 1.28 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.7783, allocations: 351.6 kB / 1.28 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.7783, allocations: 11.92 kB / 1.28 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.7783, allocations: 6.562 kB / 1.28 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.7784, allocations: 26.89 kB / 1.28 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.7788, allocations: 291.5 kB / 1.281 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.7804, allocations: 1.733 MB / 1.282 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.7807, allocations: 320.6 kB / 1.283 GB, free: 372 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.7808, allocations: 102.8 kB / 1.283 GB, free: 320 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.425e-05/0.7809, allocations: 93.3 kB / 1.283 GB, free: 220 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.7809, allocations: 35.34 kB / 1.283 GB, free: 176 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.7809, allocations: 4 kB / 1.283 GB, free: 172 kB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002218/0.7832, allocations: 0.9624 MB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.7832, allocations: 87.7 kB / 1.284 GB, free: 15.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.7834, allocations: 218 kB / 1.284 GB, free: 15.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.7834, allocations: 29.7 kB / 1.284 GB, free: 15.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.7835, allocations: 174.4 kB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.7836, allocations: 85.22 kB / 1.284 GB, free: 15.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/0.7837, allocations: 60.83 kB / 1.284 GB, free: 15.19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7838, allocations: 331.9 kB / 1.285 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.784, allocations: 129.2 kB / 1.285 GB, free: 14.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.7843, allocations: 211.4 kB / 1.285 GB, free: 14.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.7847, allocations: 367.2 kB / 1.285 GB, free: 14.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7847, allocations: 2.125 kB / 1.285 GB, free: 14.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008001/0.7855, allocations: 0.507 MB / 1.286 GB, free: 14.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.7855, allocations: 7.406 kB / 1.286 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.7855, allocations: 3.375 kB / 1.286 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004844/0.786, allocations: 152.8 kB / 1.286 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.7862, allocations: 56.88 kB / 1.286 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/0.7894, allocations: 4.203 MB / 1.29 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.7895, allocations: 16.41 kB / 1.29 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.7896, allocations: 14.17 kB / 1.29 GB, free: 10.12 MB / 1.014 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.000165/0.7897, allocations: 166.3 kB / 1.29 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.7898, allocations: 22.98 kB / 1.29 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008123/0.7906, allocations: 474.9 kB / 1.291 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.7906, allocations: 3.594 kB / 1.291 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.7906, allocations: 0 / 1.291 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7906, allocations: 1.359 kB / 1.291 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.7921, allocations: 1.007 MB / 1.292 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.7921, allocations: 5.453 kB / 1.292 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.7922, allocations: 35.69 kB / 1.292 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/0.7926, allocations: 149 kB / 1.292 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.7926, allocations: 5.188 kB / 1.292 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.7956, allocations: 4.162 MB / 1.296 GB, free: 4.996 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7956, allocations: 3.906 kB / 1.296 GB, free: 4.996 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007613/0.7964, allocations: 0.6238 MB / 1.297 GB, free: 4.551 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.7965, allocations: 124.4 kB / 1.297 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.7965, allocations: 8.016 kB / 1.297 GB, free: 4.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.7967, allocations: 23.31 kB / 1.297 GB, free: 4.422 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.7968, allocations: 24.08 kB / 1.297 GB, free: 4.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.7968, allocations: 5.562 kB / 1.297 GB, free: 4.418 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001464/0.7969, allocations: 163.6 kB / 1.297 GB, free: 4.312 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.7969, allocations: 0 / 1.297 GB, free: 4.312 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004405/0.7974, allocations: 92.06 kB / 1.297 GB, free: 4.297 MB / 1.014 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.001127/0.7985, allocations: 1.198 MB / 1.298 GB, free: 3.301 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008501/0.7994, allocations: 0.5703 MB / 1.299 GB, free: 2.957 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7994, allocations: 0 / 1.299 GB, free: 2.957 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004996/0.7999, allocations: 392.7 kB / 1.299 GB, free: 2.68 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.8003, allocations: 49.11 kB / 1.299 GB, free: 2.656 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/0.8042, allocations: 3.317 MB / 1.303 GB, free: 328 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.8047, allocations: 0.7842 MB / 1.303 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.8048, allocations: 59.83 kB / 1.303 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.8049, allocations: 70.53 kB / 1.303 GB, free: 15.55 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.8049, allocations: 0 / 1.303 GB, free: 15.55 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/0.8405, allocations: 6.784 MB / 1.31 GB, free: 14.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.56, allocations: 8.094 kB / 1.31 GB, free: 14.77 MB / 1.029 GB " [Timeout remaining time 288] (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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.784516620999966]