Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001516/0.001517, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.571/2.571, allocations: 437.1 MB / 0.7111 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 64.23 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002842/0.3102, allocations: 1.514 MB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3116, allocations: 0.7571 MB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.3117, allocations: 3.938 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.3117, allocations: 3.938 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.3118, allocations: 19.8 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.3124, allocations: 127.6 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3125, allocations: 87.77 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.545e-05/0.3126, allocations: 11.98 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.809e-05/0.3127, allocations: 39.86 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.3128, allocations: 51.81 kB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.3128, allocations: 8 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.313, allocations: 99.84 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.313, allocations: 19.98 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.3131, allocations: 39.78 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.3134, allocations: 155.9 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3134, allocations: 4 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3134, allocations: 0 / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5e-06/0.3134, allocations: 0 / 1.021 GB, free: 7.672 MB / 0.795 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.000674/0.3141, allocations: 458.6 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3141, allocations: 8.922 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.3142, allocations: 12.84 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3143, allocations: 180.2 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3144, allocations: 4.375 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.3144, allocations: 8.375 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.3146, allocations: 89.94 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3146, allocations: 0 / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3147, allocations: 0 / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3147, allocations: 4 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3148, allocations: 47.91 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.3154, allocations: 324.6 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.3156, allocations: 66.55 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3158, allocations: 52.98 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3158, allocations: 3.984 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.316, allocations: 95.39 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.316, allocations: 0 / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0005067/0.3165, allocations: 185.5 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.3166, allocations: 59.41 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.3167, allocations: 127.5 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3167, allocations: 29.7 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.3168, allocations: 92.28 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3168, allocations: 19.8 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.317, allocations: 33.64 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002382/0.3172, allocations: 326.8 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.3173, allocations: 32.34 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3174, allocations: 73.94 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.3177, allocations: 113.9 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3177, allocations: 0 / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002817/0.318, allocations: 133.4 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.318, allocations: 12.09 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.318, allocations: 11.94 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.318, allocations: 4 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.3181, allocations: 15.98 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3181, allocations: 0 / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.3182, allocations: 15.91 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3182, allocations: 4 kB / 1.023 GB, free: 4.801 MB / 0.795 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.0001201/0.3184, allocations: 131.7 kB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.3184, allocations: 11.89 kB / 1.023 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.3184, allocations: 12.38 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3184, allocations: 0 / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3185, allocations: 0 / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3185, allocations: 0 / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.3191, allocations: 434.4 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3191, allocations: 0 / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.3191, allocations: 7.984 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3191, allocations: 4 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3192, allocations: 4 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3192, allocations: 0 / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3192, allocations: 3.938 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.3196, allocations: 243.3 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.3196, allocations: 89.02 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.3197, allocations: 3.984 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.3198, allocations: 8 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.3198, allocations: 15.86 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3198, allocations: 4 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.734e-05/0.3199, allocations: 99.02 kB / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3199, allocations: 192 / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003238/0.3203, allocations: 43.98 kB / 1.024 GB, free: 3.609 MB / 0.795 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.0003819/0.3206, allocations: 172.3 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.3209, allocations: 95.83 kB / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3209, allocations: 0 / 1.025 GB, free: 3.352 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.3211, allocations: 47.97 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3214, allocations: 21.8 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.3218, allocations: 229.4 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3222, allocations: 0.6933 MB / 1.026 GB, free: 2.309 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.3222, allocations: 15.44 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3222, allocations: 192 / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of Templates: time 0.004006/0.3263, allocations: 1.763 MB / 1.027 GB, free: 0.5391 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches