Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008382/0.008382, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 187.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 61.25 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3139, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003078/0.3171, allocations: 1.494 MB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3186, allocations: 0.7531 MB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.3186, allocations: 4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.3187, allocations: 3.938 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.986e-05/0.3188, allocations: 19.78 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.3194, allocations: 127.6 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.3196, allocations: 91.7 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.3197, allocations: 15.98 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3198, allocations: 43.89 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.3198, allocations: 39.83 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3199, allocations: 8 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.3201, allocations: 99.84 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.3201, allocations: 23.92 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.3202, allocations: 47.78 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.3204, allocations: 147.6 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.3205, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3205, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3205, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 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.0006018/0.3211, allocations: 460.5 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3211, allocations: 12.03 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.3212, allocations: 8.844 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3213, allocations: 183.2 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.3213, allocations: 4.375 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.3214, allocations: 12.36 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3216, allocations: 85.95 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3216, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.3216, allocations: 4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3217, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.3218, allocations: 55.84 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.3224, allocations: 328.6 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.3225, allocations: 66.55 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3227, allocations: 48.92 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3227, allocations: 3.938 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.3229, allocations: 91.36 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.323, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005105/0.3235, allocations: 189.5 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3235, allocations: 55.41 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/0.3236, allocations: 125.8 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3237, allocations: 29.7 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.3237, allocations: 100.3 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.3238, allocations: 23.88 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.3238, allocations: 33.7 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3239, allocations: 326.8 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.324, allocations: 27.98 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.3242, allocations: 75.91 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.3244, allocations: 101.9 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3244, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002708/0.3247, allocations: 137.4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3247, allocations: 4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3247, allocations: 4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3247, allocations: 0 / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.3248, allocations: 19.98 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3248, allocations: 4 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.3249, allocations: 12.06 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3249, allocations: 4 kB / 1.093 GB, free: 11.72 MB / 0.8575 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.0001102/0.325, allocations: 139.4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.3251, allocations: 7.906 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.3251, allocations: 8.375 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3251, allocations: 4 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3251, allocations: 3.938 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3251, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.3257, allocations: 426.4 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3257, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.304e-05/0.3257, allocations: 7.984 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3257, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3258, allocations: 7.938 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3258, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3258, allocations: 11.92 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.3261, allocations: 243.3 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.3262, allocations: 85.02 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3262, allocations: 7.984 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.3263, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.3264, allocations: 19.94 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3264, allocations: 4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.69e-05/0.3265, allocations: 99.27 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3265, allocations: 4 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003286/0.3268, allocations: 47.92 kB / 1.094 GB, free: 10.51 MB / 0.8575 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.0003182/0.3271, allocations: 157.8 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.3274, allocations: 103.9 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3274, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3276, allocations: 47.97 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3278, allocations: 15.97 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.3283, allocations: 204.2 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.3286, allocations: 0.6965 MB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.3286, allocations: 4 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.3286, allocations: 11.44 kB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3286, allocations: 0 / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of Templates: time 0.004415/0.3331, allocations: 1.711 MB / 1.097 GB, free: 7.535 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches