Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.001343/0.001343, allocations: 113 kB / 18.94 MB, free: 2.934 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.001558/0.001558, allocations: 208 kB / 22.25 MB, free: 5.082 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 8.023 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 2.89/2.89, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] 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.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.002088/0.002088, allocations: 66.17 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 170 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003385/0.3607, allocations: 1.541 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3624, allocations: 0.8353 MB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.3625, allocations: 0 / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.3625, allocations: 3.938 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.244e-05/0.3626, allocations: 19.8 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008348/0.3635, allocations: 151.5 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.3637, allocations: 99.69 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3638, allocations: 23.44 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.364, allocations: 47.91 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3641, allocations: 43.81 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.3641, allocations: 8 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.3645, allocations: 147.8 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.3646, allocations: 23.91 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.3647, allocations: 35.8 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.3651, allocations: 163.5 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3651, allocations: 7.938 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3651, allocations: 0 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.3651, allocations: 0 / 1.286 GB, free: 8.637 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008144/0.3659, allocations: 391.1 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.3659, allocations: 12.03 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.321e-05/0.366, allocations: 34.73 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.3664, allocations: 28.88 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3667, allocations: 146.3 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.3667, allocations: 4.375 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.3668, allocations: 12.38 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.367, allocations: 85.75 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.367, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.3671, allocations: 4 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.3671, allocations: 4 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.3672, allocations: 47.91 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.3679, allocations: 291.8 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3681, allocations: 58.62 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3682, allocations: 44.78 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.3683, allocations: 0 / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.3685, allocations: 99.34 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.3685, allocations: 0 / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006157/0.3691, allocations: 181.5 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.745e-05/0.3692, allocations: 63.39 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3694, allocations: 124.8 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.3694, allocations: 37.69 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3695, allocations: 96.31 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.3696, allocations: 15.91 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.3697, allocations: 37.64 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002283/0.3699, allocations: 326.8 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.37, allocations: 28.36 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.3701, allocations: 77.92 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.3704, allocations: 105.9 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3704, allocations: 0 / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003159/0.3707, allocations: 141.3 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.3708, allocations: 7.984 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3708, allocations: 4 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.3708, allocations: 0 / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.3709, allocations: 16 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.3709, allocations: 8.141 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.299e-05/0.371, allocations: 11.94 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.371, allocations: 4 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.0001297/0.3711, allocations: 129.7 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.3711, allocations: 12.03 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.3712, allocations: 16.36 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3712, allocations: 0 / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3712, allocations: 0 / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3712, allocations: 4 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.3719, allocations: 413.5 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3719, allocations: 0 / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.3719, allocations: 4 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3719, allocations: 0 / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.3719, allocations: 7.984 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3719, allocations: 3.938 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3719, allocations: 3.938 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.3724, allocations: 243.4 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.3724, allocations: 7.953 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.3724, allocations: 8 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3725, allocations: 11.92 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.3726, allocations: 7.938 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.3726, allocations: 11.98 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.373e-05/0.3727, allocations: 91.27 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3727, allocations: 8.188 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003785/0.3731, allocations: 43.86 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001135/0.3742, allocations: 0.848 MB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.3745, allocations: 87.83 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3745, allocations: 0 / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.3746, allocations: 39.98 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3749, allocations: 32.44 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.3772, allocations: 1.599 MB / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3775, allocations: 0.7 MB / 1.293 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.582e-05/0.3776, allocations: 12.84 kB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.3776, allocations: 23.42 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of SimCode: time 6.02e-07/0.3776, allocations: 0 / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.4104, allocations: 3.171 MB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.61, allocations: 1.562 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.457930355798453]