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.001399/0.001399, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001587/0.001587, allocations: 187 kB / 17.34 MB, free: 5.719 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.383/2.383, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8033, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002406/0.8057, allocations: 1.504 MB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.807, allocations: 0.7479 MB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.807, allocations: 3.938 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.8071, allocations: 3.938 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.8071, allocations: 11.88 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.8077, allocations: 127.6 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.8078, allocations: 95.69 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.8079, allocations: 19.97 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.842e-05/0.808, allocations: 39.86 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.8081, allocations: 43.81 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.8081, allocations: 8 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.8083, allocations: 99.84 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.8083, allocations: 19.98 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.8084, allocations: 39.78 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.8086, allocations: 163.4 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8086, allocations: 0 / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8086, allocations: 0 / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.729e-06/0.8086, allocations: 4 kB / 1.17 GB, free: 0.8945 MB / 0.8887 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.0006089/0.8093, allocations: 460.4 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.8093, allocations: 8.922 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.8094, allocations: 8.844 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.8095, allocations: 181.5 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.8095, allocations: 4.375 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.8096, allocations: 12.38 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.8098, allocations: 93.88 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.8098, allocations: 0 / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.8098, allocations: 4 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.8098, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.81, allocations: 48.05 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.8106, allocations: 316.6 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.8107, allocations: 70.55 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.8109, allocations: 44.84 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.8109, allocations: 3.984 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.8111, allocations: 91.3 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 3.326e-06/0.8111, allocations: 96 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0004731/0.8116, allocations: 189.5 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.8117, allocations: 63.33 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.8118, allocations: 131.1 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.8118, allocations: 25.7 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.8118, allocations: 92.38 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.8119, allocations: 19.75 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.8119, allocations: 33.7 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.812, allocations: 326.8 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.8121, allocations: 27.98 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.936e-05/0.8122, allocations: 69.98 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.8124, allocations: 113.9 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8124, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002456/0.8127, allocations: 133.5 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8127, allocations: 7.984 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.8127, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.8127, allocations: 4 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.8128, allocations: 23.88 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.8129, allocations: 7.984 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.8129, allocations: 11.84 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.8129, allocations: 4 kB / 1.173 GB, free: 14.04 MB / 0.9044 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.0001045/0.8131, allocations: 129.8 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.8131, allocations: 11.98 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.8131, allocations: 12.36 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8131, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8131, allocations: 4 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8131, allocations: 3.938 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.8137, allocations: 430.8 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8137, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.8137, allocations: 8 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.8138, allocations: 7.984 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.8138, allocations: 4 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8138, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8138, allocations: 3.938 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.8141, allocations: 251.3 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.8142, allocations: 85.02 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.8142, allocations: 12 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.8143, allocations: 3.984 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.8144, allocations: 7.938 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.8144, allocations: 7.984 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.8145, allocations: 100.5 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8145, allocations: 0 / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003202/0.8148, allocations: 40 kB / 1.174 GB, free: 12.84 MB / 0.9044 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.0003386/0.8151, allocations: 169.6 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.8154, allocations: 91.83 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8154, allocations: 3.938 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.8156, allocations: 52.23 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.8159, allocations: 18.05 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.8163, allocations: 233.8 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.8166, allocations: 0.6885 MB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.8167, allocations: 15.44 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.8167, allocations: 0 / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of Templates: time 0.003659/0.8203, allocations: 1.797 MB / 1.177 GB, free: 9.738 MB / 0.9044 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/jenkins1/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