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.005416/0.005416, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001171/0.001171, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.614/2.614, allocations: 437 MB / 0.7105 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 60.09 kB / 1.018 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3184, allocations: 151.6 MB / 1.167 GB, free: 6.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002679/0.3211, allocations: 1.505 MB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3224, allocations: 0.744 MB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.3225, allocations: 0 / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.3225, allocations: 3.938 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.432e-05/0.3226, allocations: 23.78 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.3232, allocations: 123.6 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.3233, allocations: 99.7 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3234, allocations: 12 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.3235, allocations: 39.89 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.3236, allocations: 47.83 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.3237, allocations: 8 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.3239, allocations: 99.84 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.3239, allocations: 15.92 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.324, allocations: 47.78 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.3242, allocations: 151.5 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3242, allocations: 4 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3242, allocations: 0 / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3243, allocations: 0 / 1.169 GB, free: 3.93 MB / 0.92 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.0006659/0.3249, allocations: 466.3 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.325, allocations: 8.031 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.325, allocations: 8.891 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3252, allocations: 180.2 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.3252, allocations: 16.38 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3252, allocations: 12.3 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.3255, allocations: 89.95 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3255, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3255, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3255, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.3257, allocations: 51.89 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.3263, allocations: 328.8 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.3264, allocations: 66.55 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3266, allocations: 36.84 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.3266, allocations: 4.094 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.3268, allocations: 99.3 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.3268, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005085/0.3273, allocations: 185.5 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3274, allocations: 51.41 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3275, allocations: 133.8 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3275, allocations: 29.7 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.3276, allocations: 96.36 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.3277, allocations: 24.17 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.3277, allocations: 29.7 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3279, allocations: 326.8 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.3279, allocations: 27.98 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3281, allocations: 88.11 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.3283, allocations: 105.9 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3283, allocations: 4 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002596/0.3285, allocations: 137.4 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3286, allocations: 8 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3286, allocations: 0 / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3286, allocations: 4 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.3287, allocations: 15.98 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3287, allocations: 0 / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.3288, allocations: 20.09 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.3288, allocations: 4 kB / 1.172 GB, free: 1.047 MB / 0.92 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.0001092/0.3289, allocations: 125.7 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.329, allocations: 7.953 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.329, allocations: 12.38 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.329, allocations: 0 / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.329, allocations: 3.938 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.329, allocations: 0 / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/0.3296, allocations: 438.3 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3296, allocations: 3.984 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.3296, allocations: 4 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3296, allocations: 0 / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.3297, allocations: 7.984 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3297, allocations: 0 / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3297, allocations: 3.938 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.33, allocations: 247.4 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.3301, allocations: 92.98 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3301, allocations: 4 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3302, allocations: 4 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.3303, allocations: 12.11 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3303, allocations: 8.109 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.3304, allocations: 99.14 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3304, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000321/0.3307, allocations: 47.92 kB / 1.173 GB, free: 15.84 MB / 0.9356 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.0003815/0.3311, allocations: 167.3 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.3314, allocations: 92.14 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3314, allocations: 3.938 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.3315, allocations: 47.97 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.3318, allocations: 11.98 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.3323, allocations: 204.2 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.3327, allocations: 0.6963 MB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.3328, allocations: 7.938 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.3328, allocations: 15.44 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.3328, allocations: 0 / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.004482/0.3373, allocations: 1.711 MB / 1.176 GB, free: 12.87 MB / 0.9356 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