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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_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.0008538/0.0008536, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005985/0.005985, allocations: 169 kB / 16.26 MB, free: 6.613 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004376, allocations: 11.98 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7337, allocations: 153.8 MB / 1.023 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002335/0.7361, allocations: 1.227 MB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.7377, allocations: 0.7287 MB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.7378, allocations: 3.938 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.7379, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.923e-05/0.738, allocations: 27.78 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.7387, allocations: 103.8 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.7388, allocations: 79.77 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.739, allocations: 12 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.7391, allocations: 43.83 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.123e-05/0.7392, allocations: 35.84 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.7392, allocations: 8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.7395, allocations: 95.78 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.7395, allocations: 19.97 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.7396, allocations: 61.48 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.7399, allocations: 149.8 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7399, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7399, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.74, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 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.0006822/0.7406, allocations: 446.5 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7407, allocations: 8.031 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.7408, allocations: 8.844 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.7409, allocations: 184.2 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.7409, allocations: 4.375 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.741, allocations: 12.31 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.7412, allocations: 89.75 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7412, allocations: 8 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.7413, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.7413, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.7414, allocations: 51.97 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.7421, allocations: 328.7 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.7423, allocations: 66.55 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.7424, allocations: 44.84 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.7424, allocations: 3.984 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.7427, allocations: 103.4 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.7427, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005798/0.7433, allocations: 193.8 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.7434, allocations: 59.48 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.7435, allocations: 137.7 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.7436, allocations: 29.7 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.7436, allocations: 92.38 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.7437, allocations: 19.89 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.7437, allocations: 25.7 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7438, allocations: 326.8 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.7439, allocations: 27.98 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.7441, allocations: 77.98 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.7443, allocations: 117.9 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7443, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002919/0.7446, allocations: 137.4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.7446, allocations: 9.719 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.7446, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7446, allocations: 7.938 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.7448, allocations: 19.92 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.7448, allocations: 0 / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.7449, allocations: 31.98 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.7449, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 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.0001599/0.745, allocations: 130.2 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.7451, allocations: 7.906 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.7451, allocations: 4.469 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7451, allocations: 11.97 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7451, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7451, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/0.7457, allocations: 438.4 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.7457, allocations: 0 / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.7458, allocations: 4 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.7458, allocations: 0 / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.7458, allocations: 7.984 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7458, allocations: 0 / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7458, allocations: 7.938 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.7462, allocations: 259.4 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.7463, allocations: 84.95 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.7463, allocations: 4 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.7464, allocations: 15.98 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.7465, allocations: 7.938 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.7465, allocations: 7.984 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.33e-05/0.7466, allocations: 91.27 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7466, allocations: 0 / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003419/0.747, allocations: 40 kB / 1.029 GB, free: 9.32 MB / 0.7794 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.0004645/0.7474, allocations: 166.9 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.7477, allocations: 95.83 kB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7477, allocations: 0 / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.7479, allocations: 60.22 kB / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.7482, allocations: 12.27 kB / 1.029 GB, free: 9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.7487, allocations: 236.9 kB / 1.03 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.7492, allocations: 0.6926 MB / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.235e-05/0.7492, allocations: 11.94 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.7493, allocations: 7.438 kB / 1.03 GB, free: 8 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.7493, allocations: 4 kB / 1.03 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of Templates: time 0.005485/0.7548, allocations: 1.605 MB / 1.032 GB, free: 6.406 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches