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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.006948/0.006948, allocations: 101.6 kB / 15.88 MB, free: 6.328 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.001796/0.001796, allocations: 193.7 kB / 16.79 MB, free: 6.254 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.325/1.325, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.91 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5922/0.5937, allocations: 140.4 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002449/0.5962, allocations: 1.564 MB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.5973, allocations: 0.7523 MB / 0.9518 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.5974, allocations: 0.9688 kB / 0.9518 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.5974, allocations: 7.922 kB / 0.9518 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.5975, allocations: 13.3 kB / 0.9519 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.598, allocations: 106.5 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.848e-05/0.5981, allocations: 84.92 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.285e-05/0.5982, allocations: 13.02 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.762e-05/0.5983, allocations: 48.52 kB / 0.9521 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.5984, allocations: 44.83 kB / 0.9521 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.5984, allocations: 9.094 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.5986, allocations: 85.91 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.5986, allocations: 12.17 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.5987, allocations: 43.5 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.5988, allocations: 105.8 kB / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5989, allocations: 1.594 kB / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5989, allocations: 0 / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.5989, allocations: 0 / 0.9524 GB, free: 6.977 MB / 0.7169 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.0005704/0.5995, allocations: 473.3 kB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.5995, allocations: 10.19 kB / 0.9529 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.5996, allocations: 13.94 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.081e-05/0.5996, allocations: 172.3 kB / 0.953 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.5997, allocations: 3.469 kB / 0.953 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.5997, allocations: 13.58 kB / 0.953 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.5999, allocations: 81.8 kB / 0.9531 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.5999, allocations: 1.125 kB / 0.9531 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.6, allocations: 4 kB / 0.9531 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.6, allocations: 6.094 kB / 0.9531 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.6001, allocations: 51.92 kB / 0.9532 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.6006, allocations: 315.1 kB / 0.9535 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.6008, allocations: 69.83 kB / 0.9536 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.6009, allocations: 44.72 kB / 0.9536 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.6009, allocations: 12.98 kB / 0.9536 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.6012, allocations: 87.02 kB / 0.9537 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.6012, allocations: 1.031 kB / 0.9537 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004916/0.6017, allocations: 188.8 kB / 0.9539 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.6017, allocations: 58.03 kB / 0.9539 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.6018, allocations: 126.5 kB / 0.954 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.6018, allocations: 28.27 kB / 0.9541 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.6019, allocations: 94.89 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.6019, allocations: 23.41 kB / 0.9542 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.6019, allocations: 31.83 kB / 0.9542 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.602, allocations: 325.8 kB / 0.9545 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.6021, allocations: 31.23 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.6022, allocations: 76.09 kB / 0.9546 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.6024, allocations: 103.7 kB / 0.9547 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.6024, allocations: 1 kB / 0.9547 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002538/0.6026, allocations: 135.6 kB / 0.9549 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6027, allocations: 9.438 kB / 0.9549 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6027, allocations: 2.812 kB / 0.9549 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.6027, allocations: 1.438 kB / 0.9549 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.6028, allocations: 24.16 kB / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6028, allocations: 2.562 kB / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.6029, allocations: 12.78 kB / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.6029, allocations: 12.64 kB / 0.9549 GB, free: 4.602 MB / 0.7169 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 7.493e-05/0.603, allocations: 124.2 kB / 0.955 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.603, allocations: 11.66 kB / 0.955 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.6031, allocations: 10.03 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6031, allocations: 2.312 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6031, allocations: 0 / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6031, allocations: 384 / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.6036, allocations: 441.4 kB / 0.9555 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6036, allocations: 4 kB / 0.9555 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.6036, allocations: 3.75 kB / 0.9555 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.6036, allocations: 5.344 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.6037, allocations: 13.05 kB / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6037, allocations: 0 / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6037, allocations: 5.062 kB / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.604, allocations: 241.7 kB / 0.9557 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.604, allocations: 90.34 kB / 0.9558 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.6041, allocations: 5.438 kB / 0.9558 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.6042, allocations: 7.656 kB / 0.9558 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.6042, allocations: 11.48 kB / 0.9559 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.6043, allocations: 2.344 kB / 0.9559 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.6043, allocations: 98.11 kB / 0.9559 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6043, allocations: 0 / 0.9559 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003341/0.6046, allocations: 44.39 kB / 0.956 GB, free: 3.629 MB / 0.7169 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.0003251/0.605, allocations: 161.1 kB / 0.9561 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.6053, allocations: 92.77 kB / 0.9562 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6053, allocations: 0 / 0.9562 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.6054, allocations: 51.44 kB / 0.9563 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.6057, allocations: 19.25 kB / 0.9563 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.6061, allocations: 243.3 kB / 0.9565 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.6063, allocations: 0.6961 MB / 0.9572 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.6063, allocations: 12.41 kB / 0.9572 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6063, allocations: 0 / 0.9572 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.003574/0.6099, allocations: 1.775 MB / 0.959 GB, free: 1.605 MB / 0.7169 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/jenkins1/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