Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006699/0.006699, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001275/0.001275, allocations: 189.3 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.2 MB / 0.6648 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62.58 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3176, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003235/0.3209, allocations: 1.505 MB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3225, allocations: 0.7414 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.3226, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.3227, allocations: 7.922 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.3228, allocations: 15.88 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.3235, allocations: 127.5 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.3237, allocations: 95.81 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3238, allocations: 15.97 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3239, allocations: 43.8 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.324, allocations: 47.81 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.324, allocations: 12 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.3242, allocations: 99.84 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.3243, allocations: 19.92 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.3243, allocations: 39.84 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.3246, allocations: 154.4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3246, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3246, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3247, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 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.0006945/0.3254, allocations: 459.4 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.3254, allocations: 12.03 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.975e-05/0.3255, allocations: 46.67 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.3255, allocations: 8.844 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3257, allocations: 176.2 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.3257, allocations: 4.375 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.3258, allocations: 8.375 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.326, allocations: 89.75 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.326, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.3261, allocations: 8 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3261, allocations: 4 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.3262, allocations: 47.91 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.3269, allocations: 320.7 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3271, allocations: 58.56 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3272, allocations: 48.83 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3272, allocations: 8 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.3274, allocations: 95.39 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.3275, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.000479/0.3279, allocations: 185.5 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.328, allocations: 59.41 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3281, allocations: 129.7 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3282, allocations: 33.7 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.3282, allocations: 96.36 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.3283, allocations: 19.75 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.3283, allocations: 30.08 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3284, allocations: 326.8 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.3285, allocations: 23.98 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3286, allocations: 85.16 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3288, allocations: 105.9 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3288, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002675/0.3291, allocations: 137.4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3291, allocations: 9.562 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3291, allocations: 4.094 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3292, allocations: 8 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.3293, allocations: 11.98 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3293, allocations: 7.984 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.3294, allocations: 11.91 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.3294, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 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.0001053/0.3295, allocations: 139.1 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.3295, allocations: 7.906 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.3296, allocations: 16.38 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3296, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3296, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3296, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.3302, allocations: 434.5 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3302, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.3303, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3303, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3303, allocations: 3.984 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3303, allocations: 8 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3303, allocations: 3.938 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.3307, allocations: 247.3 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.3307, allocations: 85.02 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.3307, allocations: 0 / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3309, allocations: 4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.3309, allocations: 19.92 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.3309, allocations: 8.109 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.331, allocations: 99.83 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.331, allocations: 3.938 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003251/0.3313, allocations: 43.94 kB / 1.094 GB, free: 10.99 MB / 0.8575 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.0009314/0.3323, allocations: 0.8458 MB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002698/0.3325, allocations: 83.89 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3326, allocations: 4.312 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3327, allocations: 55.91 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.333, allocations: 24.14 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.3348, allocations: 1.58 MB / 1.096 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3351, allocations: 0.6963 MB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.623e-05/0.3351, allocations: 7.984 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.3352, allocations: 19.44 kB / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3352, allocations: 0 / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.3546, allocations: 2.983 MB / 1.1 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.859, allocations: 12.81 kB / 1.1 GB, free: 4.691 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches