Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01025/0.01025, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001727/0.001727, allocations: 202.3 kB / 16.68 MB, free: 5.965 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.678/2.678, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 1.018 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3054, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002774/0.3082, allocations: 1.468 MB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007598/0.309, allocations: 450.9 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.3091, allocations: 4 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.3091, allocations: 3.938 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.3092, allocations: 11.86 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.3094, allocations: 27.91 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.3095, allocations: 47.86 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.3096, allocations: 15.92 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.508e-05/0.3097, allocations: 31.91 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.3098, allocations: 15.92 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.3098, allocations: 4 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.3098, allocations: 4 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.3098, allocations: 15.92 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.3099, allocations: 19.88 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.3101, allocations: 51.73 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3101, allocations: 4 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3101, allocations: 0 / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3101, allocations: 0 / 1.169 GB, free: 4.645 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005028/0.3106, allocations: 414.7 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3107, allocations: 8.031 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.3107, allocations: 8.891 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3108, allocations: 172.3 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.3108, allocations: 4.375 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.3109, allocations: 8.312 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.311, allocations: 61.98 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3111, allocations: 0 / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3111, allocations: 4 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3111, allocations: 0 / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3112, allocations: 39.91 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3116, allocations: 272.9 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3118, allocations: 42.55 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/0.3119, allocations: 28.94 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3119, allocations: 0 / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.3121, allocations: 71.31 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.3121, allocations: 4 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0003594/0.3124, allocations: 117.6 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3125, allocations: 51.41 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.3126, allocations: 117.8 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.3126, allocations: 25.7 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.3127, allocations: 100 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.3127, allocations: 11.94 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.3128, allocations: 21.72 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3129, allocations: 326.8 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/0.313, allocations: 11.98 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/0.3131, allocations: 52.28 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.3132, allocations: 68.22 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3132, allocations: 0 / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001992/0.3134, allocations: 93.5 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3135, allocations: 7.984 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3135, allocations: 4.156 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3135, allocations: 4 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.3136, allocations: 4 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3136, allocations: 4 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.3137, allocations: 11.92 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3137, allocations: 4 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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 7.977e-05/0.3138, allocations: 121.7 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.3138, allocations: 3.953 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.3138, allocations: 15.97 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3138, allocations: 3.938 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3138, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3138, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.3142, allocations: 338.5 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3142, allocations: 0 / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.3143, allocations: 7.984 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3143, allocations: 3.938 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3143, allocations: 4 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3143, allocations: 4 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3143, allocations: 3.938 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.3146, allocations: 179.8 kB / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.3146, allocations: 81.11 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3147, allocations: 7.984 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.3147, allocations: 12 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.3148, allocations: 8.297 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.3148, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.551e-05/0.3149, allocations: 91.22 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3149, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000239/0.3151, allocations: 12 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001024/0.3152, allocations: 107.3 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3155, allocations: 55.97 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3155, allocations: 3.938 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.3156, allocations: 23.98 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.3158, allocations: 9.859 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.3162, allocations: 167.5 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3165, allocations: 0.6849 MB / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.3165, allocations: 4 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.3165, allocations: 11.42 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of SimCode: time 4e-07/0.3166, allocations: 0 / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of Templates: time 0.002706/0.3193, allocations: 0.5812 MB / 1.173 GB, free: 15.57 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches