Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.001632/0.001632, allocations: 112.1 kB / 17.08 MB, free: 6.012 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.001901/0.001902, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.423/1.423, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 437.1 MB / 0.7177 GB, free: 4.578 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002859/0.002859, allocations: 67.89 kB / 1.028 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3137, allocations: 151.6 MB / 1.176 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002688/0.3165, allocations: 1.501 MB / 1.177 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3178, allocations: 0.7478 MB / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.275e-05/0.3179, allocations: 0 / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.3179, allocations: 11.86 kB / 1.178 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.223e-05/0.318, allocations: 19.86 kB / 1.178 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.3186, allocations: 127.6 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3187, allocations: 87.7 kB / 1.178 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.3188, allocations: 16 kB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.335e-05/0.3189, allocations: 43.89 kB / 1.178 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.389e-05/0.319, allocations: 39.83 kB / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.319, allocations: 12 kB / 1.178 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.3192, allocations: 99.84 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.3193, allocations: 23.92 kB / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.3193, allocations: 39.78 kB / 1.179 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.3196, allocations: 159.4 kB / 1.179 GB, free: 3.121 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3196, allocations: 0 / 1.179 GB, free: 3.121 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3196, allocations: 0 / 1.179 GB, free: 3.121 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.3196, allocations: 0 / 1.179 GB, free: 3.121 MB / 0.92 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.0006521/0.3203, allocations: 466.3 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3203, allocations: 12.03 kB / 1.179 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3204, allocations: 12.89 kB / 1.179 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.3205, allocations: 176.2 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3206, allocations: 4.375 kB / 1.179 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.3206, allocations: 16.36 kB / 1.179 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3208, allocations: 85.89 kB / 1.179 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3208, allocations: 0 / 1.179 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3209, allocations: 4 kB / 1.179 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3209, allocations: 3.938 kB / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.321, allocations: 55.95 kB / 1.179 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.3216, allocations: 312.8 kB / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.3218, allocations: 70.58 kB / 1.18 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3219, allocations: 44.84 kB / 1.18 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3219, allocations: 4 kB / 1.18 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.3222, allocations: 87.36 kB / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3222, allocations: 0 / 1.18 GB, free: 1.617 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005096/0.3227, allocations: 189.5 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3228, allocations: 59.34 kB / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3229, allocations: 137.4 kB / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3229, allocations: 25.7 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.323, allocations: 96.36 kB / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.323, allocations: 27.94 kB / 1.18 GB, free: 1.055 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.3231, allocations: 33.7 kB / 1.18 GB, free: 1.016 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3232, allocations: 322.8 kB / 1.181 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.3233, allocations: 27.98 kB / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3235, allocations: 76.52 kB / 1.181 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.3237, allocations: 113.9 kB / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3237, allocations: 0 / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000267/0.324, allocations: 133.5 kB / 1.181 GB, free: 308 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.324, allocations: 4 kB / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.324, allocations: 0 / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.324, allocations: 8.156 kB / 1.181 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.3241, allocations: 23.92 kB / 1.181 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3241, allocations: 7.938 kB / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.3242, allocations: 7.938 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3242, allocations: 8.359 kB / 1.181 GB, free: 248 kB / 0.92 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.0001044/0.3243, allocations: 127.2 kB / 1.181 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.3244, allocations: 7.953 kB / 1.181 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.3244, allocations: 8.375 kB / 1.181 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3244, allocations: 7.938 kB / 1.181 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3244, allocations: 4 kB / 1.181 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3244, allocations: 0 / 1.181 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.325, allocations: 434.2 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.325, allocations: 0 / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/0.3251, allocations: 4 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3251, allocations: 4 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3251, allocations: 7.984 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3251, allocations: 4 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.3251, allocations: 7.938 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.3255, allocations: 243.4 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.3256, allocations: 88.98 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.3256, allocations: 8 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.3257, allocations: 0 / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.3257, allocations: 11.92 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3258, allocations: 8 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.076e-05/0.3258, allocations: 99.27 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3258, allocations: 0 / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003141/0.3262, allocations: 43.92 kB / 1.182 GB, free: 15.05 MB / 0.9356 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.0003885/0.3266, allocations: 161.5 kB / 1.182 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.3268, allocations: 91.83 kB / 1.183 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3269, allocations: 0 / 1.183 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.327, allocations: 55.91 kB / 1.183 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.3273, allocations: 20.22 kB / 1.183 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.3278, allocations: 238.1 kB / 1.183 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.3281, allocations: 0.6885 MB / 1.183 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.3281, allocations: 11.44 kB / 1.183 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3281, allocations: 0 / 1.183 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of Templates: time 0.003894/0.332, allocations: 1.795 MB / 1.185 GB, free: 11.95 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.769819870009087]