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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 107.1 kB / 16.45 MB, free: 6.035 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.001334/0.001334, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.091/3.091, allocations: 497.2 MB / 0.7811 GB, free: 33.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 72.81 kB / 1.134 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3552, allocations: 173.9 MB / 1.304 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005276/0.3605, allocations: 3.102 MB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.3637, allocations: 1.955 MB / 1.309 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.3638, allocations: 7.938 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009803/0.3648, allocations: 278.9 kB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.3653, allocations: 199.1 kB / 1.309 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.3659, allocations: 247.2 kB / 1.31 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.3663, allocations: 326.9 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.3666, allocations: 145 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.3668, allocations: 131.5 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.3671, allocations: 159.4 kB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.3671, allocations: 24 kB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006678/0.3678, allocations: 419.1 kB / 1.311 GB, free: 10.61 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3679, allocations: 79.8 kB / 1.311 GB, free: 10.54 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.368, allocations: 127.4 kB / 1.311 GB, free: 10.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006596/0.3687, allocations: 486.3 kB / 1.311 GB, free: 9.934 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3687, allocations: 7.938 kB / 1.311 GB, free: 9.926 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3687, allocations: 0 / 1.311 GB, free: 9.926 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3687, allocations: 0 / 1.311 GB, free: 9.926 MB / 1.014 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.000997/0.3697, allocations: 0.5646 MB / 1.312 GB, free: 9.312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3697, allocations: 12.62 kB / 1.312 GB, free: 9.301 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.824e-05/0.3698, allocations: 62.7 kB / 1.312 GB, free: 9.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000796/0.3706, allocations: 108.7 kB / 1.312 GB, free: 9.125 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.371, allocations: 263 kB / 1.312 GB, free: 8.832 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.371, allocations: 16.8 kB / 1.312 GB, free: 8.816 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.3711, allocations: 20.38 kB / 1.312 GB, free: 8.797 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.3717, allocations: 353.3 kB / 1.313 GB, free: 8.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3717, allocations: 3.938 kB / 1.313 GB, free: 8.426 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.3717, allocations: 15.94 kB / 1.313 GB, free: 8.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.3717, allocations: 20.42 kB / 1.313 GB, free: 8.387 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.3722, allocations: 293.5 kB / 1.313 GB, free: 8.102 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.3747, allocations: 1.734 MB / 1.315 GB, free: 6.199 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.3752, allocations: 326.2 kB / 1.315 GB, free: 5.844 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.3754, allocations: 105.9 kB / 1.315 GB, free: 5.734 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.3755, allocations: 96.97 kB / 1.315 GB, free: 5.621 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.3755, allocations: 34.56 kB / 1.315 GB, free: 5.578 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.3755, allocations: 0 / 1.315 GB, free: 5.578 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.002542/0.3781, allocations: 0.9698 MB / 1.316 GB, free: 4.574 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.3782, allocations: 88.98 kB / 1.316 GB, free: 4.469 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.3784, allocations: 211.8 kB / 1.317 GB, free: 4.246 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.3784, allocations: 29.7 kB / 1.317 GB, free: 4.211 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3786, allocations: 172.5 kB / 1.317 GB, free: 4.039 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.313e-05/0.3786, allocations: 83.34 kB / 1.317 GB, free: 3.957 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.3788, allocations: 69.67 kB / 1.317 GB, free: 3.883 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3789, allocations: 326.8 kB / 1.317 GB, free: 3.555 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3791, allocations: 131.8 kB / 1.317 GB, free: 3.426 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.3794, allocations: 214.9 kB / 1.318 GB, free: 3.184 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.3799, allocations: 361.2 kB / 1.318 GB, free: 2.797 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3799, allocations: 0 / 1.318 GB, free: 2.797 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009096/0.3808, allocations: 0.5038 MB / 1.318 GB, free: 2.277 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3809, allocations: 8 kB / 1.318 GB, free: 2.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3809, allocations: 0 / 1.318 GB, free: 2.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005751/0.3814, allocations: 159.3 kB / 1.319 GB, free: 2.102 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.3817, allocations: 55.91 kB / 1.319 GB, free: 2.047 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/0.3855, allocations: 4.202 MB / 1.323 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.3857, allocations: 16.08 kB / 1.323 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.3858, allocations: 15.94 kB / 1.323 GB, free: 13.48 MB / 1.029 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.0002148/0.386, allocations: 174.9 kB / 1.323 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.386, allocations: 23.86 kB / 1.323 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009005/0.3869, allocations: 474.5 kB / 1.323 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.387, allocations: 4 kB / 1.323 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.387, allocations: 0 / 1.323 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.387, allocations: 0 / 1.323 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.3886, allocations: 1.013 MB / 1.324 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3887, allocations: 0 / 1.324 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.3888, allocations: 35.92 kB / 1.324 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.3892, allocations: 135.3 kB / 1.325 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.3892, allocations: 11.98 kB / 1.325 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00322/0.3924, allocations: 4.159 MB / 1.329 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.3925, allocations: 7.984 kB / 1.329 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008286/0.3933, allocations: 0.6194 MB / 1.329 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3934, allocations: 128.9 kB / 1.329 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.3935, allocations: 4 kB / 1.329 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.3937, allocations: 19.98 kB / 1.329 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.3937, allocations: 31.91 kB / 1.329 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.3938, allocations: 12 kB / 1.329 GB, free: 6.109 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001508/0.3939, allocations: 152.2 kB / 1.33 GB, free: 5.961 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3939, allocations: 0 / 1.33 GB, free: 5.961 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005094/0.3944, allocations: 95.86 kB / 1.33 GB, free: 5.867 MB / 1.029 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.001277/0.3957, allocations: 1.191 MB / 1.331 GB, free: 4.609 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.3968, allocations: 0.5714 MB / 1.331 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3968, allocations: 0 / 1.331 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.3973, allocations: 387.7 kB / 1.332 GB, free: 3.609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.3978, allocations: 39.97 kB / 1.332 GB, free: 3.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.4023, allocations: 3.338 MB / 1.335 GB, free: 24 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.4027, allocations: 0.7753 MB / 1.336 GB, free: 15.22 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.4029, allocations: 62.23 kB / 1.336 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.403, allocations: 71.42 kB / 1.336 GB, free: 15.09 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.403, allocations: 0 / 1.336 GB, free: 15.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.4421, allocations: 6.757 MB / 1.342 GB, free: 8.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.58, allocations: 15.77 kB / 1.342 GB, free: 8.488 MB / 1.045 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.19770031934604]