Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009353/0.0009356, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.007163/0.007163, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 462.6 MB / 0.7364 GB, free: 240 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 8.469 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3542, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001947/0.3562, allocations: 1.225 MB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3577, allocations: 0.7401 MB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.3578, allocations: 4 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.3578, allocations: 7.875 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.3579, allocations: 11.91 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.3585, allocations: 111.8 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.3587, allocations: 79.77 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3588, allocations: 12 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.3589, allocations: 43.83 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.226e-05/0.359, allocations: 35.84 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3591, allocations: 4 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.3593, allocations: 91.84 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.3594, allocations: 15.97 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.356e-05/0.3594, allocations: 69.48 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.3597, allocations: 147.9 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3597, allocations: 4 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3598, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.3598, allocations: 4 kB / 1.061 GB, free: 2.855 MB / 0.8106 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.0007034/0.3605, allocations: 442.5 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3605, allocations: 11.97 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.3606, allocations: 12.84 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3607, allocations: 180.3 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.3608, allocations: 8.375 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.3608, allocations: 4.375 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.3611, allocations: 97.94 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3611, allocations: 0 / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3611, allocations: 3.938 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3611, allocations: 7.984 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3613, allocations: 47.97 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.362, allocations: 324.7 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3622, allocations: 74.58 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3623, allocations: 44.84 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3623, allocations: 7.984 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.3625, allocations: 95.27 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3626, allocations: 0 / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005143/0.3631, allocations: 193.5 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3631, allocations: 59.41 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3632, allocations: 129 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.3633, allocations: 33.7 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.3633, allocations: 88.38 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.3634, allocations: 19.94 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.3634, allocations: 26.09 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3635, allocations: 326.8 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.8e-05/0.3636, allocations: 35.86 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.3637, allocations: 77.98 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.3639, allocations: 117.9 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3639, allocations: 4 kB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002708/0.3642, allocations: 141.3 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3643, allocations: 4 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3643, allocations: 7.938 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3643, allocations: 0 / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3644, allocations: 24.14 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3644, allocations: 3.938 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.3645, allocations: 15.98 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.3645, allocations: 4 kB / 1.064 GB, free: 15.96 MB / 0.8262 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 9.83e-05/0.3646, allocations: 123.3 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.3647, allocations: 7.906 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.3647, allocations: 12.36 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3647, allocations: 4 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3647, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3647, allocations: 4 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.3653, allocations: 442.2 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3653, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.3654, allocations: 7.938 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3654, allocations: 4 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.3654, allocations: 3.984 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3654, allocations: 4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3654, allocations: 4.031 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.3658, allocations: 259.3 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.3658, allocations: 81.11 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.3659, allocations: 4 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.366, allocations: 7.984 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.366, allocations: 15.94 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.3661, allocations: 4.172 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.593e-05/0.3661, allocations: 95.27 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3661, allocations: 3.938 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003318/0.3665, allocations: 43.91 kB / 1.065 GB, free: 14.75 MB / 0.8262 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.000399/0.3669, allocations: 168.4 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.3672, allocations: 108 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3672, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.3673, allocations: 43.98 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.3676, allocations: 15.98 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.3681, allocations: 233.1 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.3684, allocations: 0.6887 MB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.3684, allocations: 4 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.3685, allocations: 11.62 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.3685, allocations: 4 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of Templates: time 0.00573/0.3742, allocations: 1.602 MB / 1.068 GB, free: 11.85 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches