Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00235/0.00235, allocations: 220.4 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.037/3.037, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.47 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3333, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00333/0.3367, allocations: 0.8903 MB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002651/0.3393, allocations: 1.219 MB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.3394, allocations: 0 / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.189e-05/0.3395, allocations: 7.875 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.3396, allocations: 23.78 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008219/0.3404, allocations: 154.4 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.3407, allocations: 167.6 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3408, allocations: 29.28 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.341, allocations: 67.83 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.3412, allocations: 67.73 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.3412, allocations: 20 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3413, allocations: 28 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.3414, allocations: 27.89 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.3415, allocations: 67.72 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.3419, allocations: 167.6 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3419, allocations: 0 / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.552e-06/0.3419, allocations: 0 / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3419, allocations: 0 / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001002/0.3429, allocations: 422 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.343, allocations: 8.031 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.362e-05/0.343, allocations: 42.73 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.3431, allocations: 12.89 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/0.3439, allocations: 199.7 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3439, allocations: 4.375 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.344, allocations: 12.38 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.3443, allocations: 97.95 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3443, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.3443, allocations: 4 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3443, allocations: 0 / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.3446, allocations: 47.95 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008695/0.3455, allocations: 363.5 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.3457, allocations: 38.55 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3458, allocations: 28.91 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3458, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/0.3462, allocations: 103.2 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.3462, allocations: 0 / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005784/0.3468, allocations: 137.5 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.3468, allocations: 59.34 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.347, allocations: 140.1 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.3471, allocations: 25.7 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.3472, allocations: 120.1 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.3472, allocations: 31.78 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3474, allocations: 49.69 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3476, allocations: 326.8 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.3478, allocations: 43.97 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.3481, allocations: 140.4 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.3486, allocations: 200.6 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3486, allocations: 0 / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007838/0.3494, allocations: 243.3 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.91e-05/0.3494, allocations: 37.7 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3494, allocations: 4 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.3495, allocations: 4 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3496, allocations: 31.84 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.3496, allocations: 4 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.3499, allocations: 39.86 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.35, allocations: 15.98 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.3501, allocations: 137.8 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.3502, allocations: 7.953 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.3502, allocations: 8.719 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3502, allocations: 7.938 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3502, allocations: 3.984 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3502, allocations: 0 / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008032/0.351, allocations: 369.9 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.351, allocations: 96 / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.3512, allocations: 23.86 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3512, allocations: 0 / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.3512, allocations: 8 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3512, allocations: 0 / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3512, allocations: 7.875 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.3517, allocations: 243.4 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.3517, allocations: 11.89 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3517, allocations: 3.938 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.3518, allocations: 12.03 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.3519, allocations: 7.984 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.3519, allocations: 4 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.825e-05/0.352, allocations: 107.2 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.352, allocations: 4 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003029/0.3523, allocations: 28 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008603/0.3531, allocations: 0.7825 MB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.3535, allocations: 167.2 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3535, allocations: 0 / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.3537, allocations: 35.92 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.354, allocations: 27.28 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.3568, allocations: 1.971 MB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.3572, allocations: 0.7045 MB / 1.294 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.806e-05/0.3573, allocations: 12.64 kB / 1.294 GB, free: 496 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.3574, allocations: 35.42 kB / 1.294 GB, free: 460 kB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3574, allocations: 0 / 1.294 GB, free: 460 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03667/0.394, allocations: 3.335 MB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.8, allocations: 8.672 kB / 1.297 GB, free: 13.27 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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: 18.67008970398456]