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.001414/0.001415, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.369/2.369, allocations: 390.2 MB / 0.6646 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.88 kB / 0.8125 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7073/0.7086, allocations: 140.3 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003031/0.7117, allocations: 1.523 MB / 0.951 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.7129, allocations: 0.7418 MB / 0.9518 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.7129, allocations: 3.938 kB / 0.9518 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.713, allocations: 7.922 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.713, allocations: 10.22 kB / 0.9518 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.7136, allocations: 126.7 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.7137, allocations: 97.31 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.7138, allocations: 18.58 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.7139, allocations: 39.84 kB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.714, allocations: 44.92 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.714, allocations: 8.031 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.7142, allocations: 96.16 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.7142, allocations: 24.09 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.7143, allocations: 40.22 kB / 0.9523 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.7145, allocations: 156.4 kB / 0.9524 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7145, allocations: 0 / 0.9524 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7145, allocations: 4 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.7145, allocations: 0 / 0.9524 GB, free: 6.93 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.0005257/0.715, allocations: 454.8 kB / 0.9529 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.7151, allocations: 10.22 kB / 0.9529 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.7151, allocations: 11.92 kB / 0.9529 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.998e-05/0.7152, allocations: 177 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.7152, allocations: 6.906 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.7153, allocations: 6 kB / 0.9531 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.7155, allocations: 106.7 kB / 0.9532 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7155, allocations: 0 / 0.9532 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.7155, allocations: 1.156 kB / 0.9532 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.7155, allocations: 4.922 kB / 0.9532 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.7157, allocations: 44.75 kB / 0.9532 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.7162, allocations: 322.9 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.7163, allocations: 74.08 kB / 0.9536 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.7164, allocations: 44.23 kB / 0.9536 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.7165, allocations: 1.094 kB / 0.9536 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.7167, allocations: 91.89 kB / 0.9537 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.7167, allocations: 4 kB / 0.9537 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004562/0.7171, allocations: 184.6 kB / 0.9539 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.7172, allocations: 62.5 kB / 0.954 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.7173, allocations: 126.8 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.7173, allocations: 30.7 kB / 0.9541 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.7173, allocations: 87.47 kB / 0.9542 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.7174, allocations: 27.73 kB / 0.9542 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.7174, allocations: 39.95 kB / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.7175, allocations: 320.8 kB / 0.9546 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.7175, allocations: 28.03 kB / 0.9546 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.623e-05/0.7176, allocations: 70.41 kB / 0.9547 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.7178, allocations: 111.9 kB / 0.9548 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7178, allocations: 1.188 kB / 0.9548 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002441/0.7181, allocations: 134.7 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.7181, allocations: 6.438 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7181, allocations: 1.625 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.7181, allocations: 2.438 kB / 0.9549 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.7183, allocations: 20.7 kB / 0.9549 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.7183, allocations: 1.25 kB / 0.9549 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.7184, allocations: 16.91 kB / 0.9549 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.7184, allocations: 5.25 kB / 0.9549 GB, free: 4.566 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 0.0001012/0.7185, allocations: 126.1 kB / 0.9551 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.7185, allocations: 11.92 kB / 0.9551 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.7186, allocations: 9.406 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7186, allocations: 2.188 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.7186, allocations: 0 / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7186, allocations: 3.938 kB / 0.9551 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.7192, allocations: 445.5 kB / 0.9555 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7192, allocations: 1.188 kB / 0.9555 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.7192, allocations: 11.64 kB / 0.9555 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.7192, allocations: 0 / 0.9555 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.7193, allocations: 1.219 kB / 0.9555 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.7193, allocations: 1.219 kB / 0.9555 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7193, allocations: 3.938 kB / 0.9555 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.7197, allocations: 258 kB / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.7197, allocations: 87.23 kB / 0.9559 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.7197, allocations: 5.141 kB / 0.9559 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.7198, allocations: 3.125 kB / 0.9559 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.7199, allocations: 15.02 kB / 0.9559 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.7199, allocations: 3.188 kB / 0.9559 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.72, allocations: 94.64 kB / 0.956 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.72, allocations: 0 / 0.956 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003637/0.7203, allocations: 43.36 kB / 0.956 GB, free: 3.59 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.0004053/0.7208, allocations: 162.3 kB / 0.9562 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.7211, allocations: 91.92 kB / 0.9563 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7211, allocations: 1.531 kB / 0.9563 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.7212, allocations: 54.34 kB / 0.9563 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.7216, allocations: 9.125 kB / 0.9563 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.7221, allocations: 207 kB / 0.9565 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.7223, allocations: 0.693 MB / 0.9572 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.326e-05/0.7224, allocations: 3.5 kB / 0.9572 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.7224, allocations: 14.53 kB / 0.9572 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7224, allocations: 0 / 0.9572 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of Templates: time 0.004786/0.7272, allocations: 1.727 MB / 0.9589 GB, free: 1.629 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/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