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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.008372/0.008372, allocations: 99.08 kB / 15.73 MB, free: 6.008 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.002224/0.002224, allocations: 189.8 kB / 16.67 MB, free: 5.926 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.639/2.639, allocations: 472.7 MB / 0.7453 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.89 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8277, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002574/0.8304, allocations: 1.499 MB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.8316, allocations: 0.7413 MB / 1.228 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.8317, allocations: 7.875 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.8317, allocations: 3.938 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-05/0.8318, allocations: 11.86 kB / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.8323, allocations: 135.6 kB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.8325, allocations: 91.77 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.8326, allocations: 11.94 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.669e-05/0.8327, allocations: 47.77 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.8328, allocations: 39.84 kB / 1.228 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.8328, allocations: 8 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.833, allocations: 99.91 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.833, allocations: 23.95 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.8331, allocations: 43.8 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.8333, allocations: 152 kB / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8334, allocations: 0 / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8334, allocations: 0 / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8334, allocations: 4 kB / 1.228 GB, free: 10.58 MB / 0.9512 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.0005853/0.834, allocations: 458.4 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.834, allocations: 12.03 kB / 1.229 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.8341, allocations: 16.83 kB / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.8342, allocations: 179.4 kB / 1.229 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.8342, allocations: 8.375 kB / 1.229 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.8342, allocations: 4.375 kB / 1.229 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.8344, allocations: 93.88 kB / 1.229 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.8345, allocations: 0 / 1.229 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.8345, allocations: 7.984 kB / 1.229 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.8345, allocations: 0 / 1.229 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.8346, allocations: 47.97 kB / 1.229 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.8352, allocations: 324.6 kB / 1.23 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.8353, allocations: 66.53 kB / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.8355, allocations: 44.83 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.8355, allocations: 8 kB / 1.23 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.8357, allocations: 95.39 kB / 1.23 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.8357, allocations: 0 / 1.23 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0004731/0.8362, allocations: 189.4 kB / 1.23 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.8363, allocations: 55.41 kB / 1.23 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.8364, allocations: 133.8 kB / 1.23 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.8364, allocations: 33.7 kB / 1.23 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.8364, allocations: 88.38 kB / 1.23 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.8365, allocations: 27.98 kB / 1.23 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.8365, allocations: 29.72 kB / 1.23 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8367, allocations: 330.7 kB / 1.231 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.8367, allocations: 27.92 kB / 1.231 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.8369, allocations: 80.09 kB / 1.231 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.8371, allocations: 109.9 kB / 1.231 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.8371, allocations: 4 kB / 1.231 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000252/0.8374, allocations: 129.5 kB / 1.231 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.8374, allocations: 8 kB / 1.231 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8374, allocations: 0 / 1.231 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.8374, allocations: 4 kB / 1.231 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.8375, allocations: 24.08 kB / 1.231 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.8375, allocations: 0 / 1.231 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.8376, allocations: 11.95 kB / 1.231 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.8376, allocations: 8 kB / 1.231 GB, free: 7.695 MB / 0.9512 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.638e-05/0.8377, allocations: 118.3 kB / 1.231 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.8378, allocations: 15.94 kB / 1.231 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.8378, allocations: 8.375 kB / 1.231 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8378, allocations: 7.938 kB / 1.231 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8378, allocations: 0 / 1.231 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.8378, allocations: 0 / 1.231 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.8384, allocations: 434.3 kB / 1.232 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8384, allocations: 4 kB / 1.232 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.8384, allocations: 7.984 kB / 1.232 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8384, allocations: 480 / 1.232 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.8385, allocations: 4.094 kB / 1.232 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8385, allocations: 0 / 1.232 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8385, allocations: 7.938 kB / 1.232 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.8389, allocations: 255.3 kB / 1.232 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.8389, allocations: 85.06 kB / 1.232 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.839, allocations: 0 / 1.232 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.8391, allocations: 7.984 kB / 1.232 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.8391, allocations: 11.94 kB / 1.232 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.8391, allocations: 7.984 kB / 1.232 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.591e-05/0.8392, allocations: 95.27 kB / 1.232 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8392, allocations: 0 / 1.232 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003206/0.8396, allocations: 43.92 kB / 1.232 GB, free: 6.5 MB / 0.9512 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.000408/0.84, allocations: 174.7 kB / 1.232 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002933/0.8403, allocations: 95.83 kB / 1.232 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8403, allocations: 0 / 1.232 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.8404, allocations: 47.95 kB / 1.232 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.8407, allocations: 17.7 kB / 1.232 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.8412, allocations: 216.3 kB / 1.233 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.8415, allocations: 0.6885 MB / 1.233 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.8416, allocations: 7.984 kB / 1.233 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.8416, allocations: 11.44 kB / 1.233 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8416, allocations: 0 / 1.233 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of Templates: time 0.004725/0.8463, allocations: 1.717 MB / 1.235 GB, free: 3.508 MB / 0.9512 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