Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.001671/0.001671, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00203/0.00203, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.261/3.261, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") [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.002056/0.002056, allocations: 63.23 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4176, allocations: 176.1 MB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.003/0.4206, allocations: 1.484 MB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.4217, allocations: 482.8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.4218, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.4218, allocations: 7.938 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.568e-05/0.4219, allocations: 11.86 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.4221, allocations: 39.91 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.4223, allocations: 55.78 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.4224, allocations: 7.984 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.4226, allocations: 31.86 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.4226, allocations: 19.92 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.4226, allocations: 4 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.672e-05/0.4227, allocations: 4 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.4227, allocations: 23.91 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.4228, allocations: 11.94 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.4229, allocations: 51.75 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4229, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4229, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4229, allocations: 3.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006019/0.4235, allocations: 349.5 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4236, allocations: 8.031 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.4237, allocations: 16.88 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.4239, allocations: 126.5 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.424, allocations: 4.312 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.424, allocations: 4.375 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.4242, allocations: 65.98 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4242, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4242, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4242, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.4243, allocations: 35.97 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.4247, allocations: 216.6 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.4248, allocations: 46.42 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/0.4249, allocations: 28.94 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.4249, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.4251, allocations: 71.39 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4251, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0004343/0.4255, allocations: 113.5 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.4256, allocations: 51.41 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4257, allocations: 129.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.4257, allocations: 25.7 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.4258, allocations: 92.09 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.4258, allocations: 7.953 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.4258, allocations: 25.7 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.4261, allocations: 310.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.4261, allocations: 15.98 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/0.4262, allocations: 48.28 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.4264, allocations: 80.14 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4264, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000199/0.4266, allocations: 93.5 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4266, allocations: 10.03 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4266, allocations: 4.406 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4266, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.4267, allocations: 15.98 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4267, allocations: 3.938 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.4268, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.4268, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001087/0.4269, allocations: 126.2 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.4269, allocations: 7.953 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/0.427, allocations: 8.062 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.427, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.427, allocations: 8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.427, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.4274, allocations: 294 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4274, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.4274, allocations: 4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4274, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4274, allocations: 3.984 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4274, allocations: 4 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4274, allocations: 160 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.4277, allocations: 191.4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.4277, allocations: 7.953 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4277, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.4278, allocations: 11.92 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.4279, allocations: 7.938 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.4279, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.738e-05/0.4279, allocations: 91.27 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4279, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002322/0.4282, allocations: 15.94 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.000122/0.4283, allocations: 107.2 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.4285, allocations: 55.89 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4285, allocations: 4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.036e-05/0.4286, allocations: 24.11 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.4289, allocations: 8.422 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.4293, allocations: 172.1 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.4294, allocations: 71.25 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.4294, allocations: 4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.4295, allocations: 7.438 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4295, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of Templates: time 0.003327/0.4328, allocations: 0.6334 MB / 1.333 GB, free: 10.68 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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: 9.324416365998331]