Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.009002/0.009002, allocations: 100.7 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.001904/0.001904, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 64.11 kB / 1.054 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3036, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.003167/0.3068, allocations: 1.47 MB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007729/0.3076, allocations: 451.2 kB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.3077, allocations: 0 / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.3077, allocations: 3.938 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.754e-05/0.3078, allocations: 11.92 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.308, allocations: 27.91 kB / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.3082, allocations: 47.8 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3083, allocations: 15.97 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.3084, allocations: 23.86 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.3085, allocations: 23.92 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3085, allocations: 4 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.3085, allocations: 4 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.3085, allocations: 7.984 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.3086, allocations: 27.88 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.3087, allocations: 56.02 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3087, allocations: 0 / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3087, allocations: 0 / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3087, allocations: 0 / 1.209 GB, free: 8.012 MB / 0.9669 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.0005244/0.3092, allocations: 406.7 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3093, allocations: 8.625 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.3094, allocations: 34.75 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3094, allocations: 4.844 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.3095, allocations: 176.3 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.3096, allocations: 4.375 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3096, allocations: 4.375 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.3098, allocations: 57.8 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3098, allocations: 4 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3098, allocations: 0 / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3098, allocations: 4 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.31, allocations: 35.97 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.3104, allocations: 284.7 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.3106, allocations: 42.5 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.436e-05/0.3107, allocations: 24.94 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3107, allocations: 0 / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.3109, allocations: 79.36 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.3109, allocations: 0 / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0003691/0.3113, allocations: 113.5 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3114, allocations: 55.41 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.3115, allocations: 113.8 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3115, allocations: 37.64 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.3116, allocations: 88.12 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.3116, allocations: 7.906 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.3116, allocations: 17.72 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3117, allocations: 326.8 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.3118, allocations: 15.98 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.689e-05/0.3119, allocations: 48.28 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.312, allocations: 68.22 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3121, allocations: 8 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001917/0.3123, allocations: 89.44 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3123, allocations: 8 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3123, allocations: 0 / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3123, allocations: 4 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.3124, allocations: 7.938 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3124, allocations: 4 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.3125, allocations: 16.14 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3125, allocations: 3.984 kB / 1.211 GB, free: 5.578 MB / 0.9669 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 9.412e-05/0.3126, allocations: 121.7 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.3126, allocations: 7.906 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.3127, allocations: 3.969 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.3127, allocations: 4 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3127, allocations: 0 / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3127, allocations: 3.984 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.3131, allocations: 346.8 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3131, allocations: 0 / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.3132, allocations: 8.375 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3132, allocations: 0 / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3132, allocations: 0 / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3132, allocations: 3.938 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3132, allocations: 3.938 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3135, allocations: 191.4 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.3135, allocations: 85.09 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3136, allocations: 0 / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.3136, allocations: 7.938 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.3137, allocations: 7.984 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3137, allocations: 0 / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.664e-05/0.3138, allocations: 95.2 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3138, allocations: 4 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000234/0.314, allocations: 12 kB / 1.212 GB, free: 4.586 MB / 0.9669 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.0005335/0.3145, allocations: 0.7124 MB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.3148, allocations: 59.91 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3148, allocations: 0 / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.463e-05/0.3149, allocations: 35.91 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.3151, allocations: 9.938 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.3166, allocations: 1.409 MB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.3168, allocations: 0.6884 MB / 1.215 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.3169, allocations: 4 kB / 1.215 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.3169, allocations: 15.42 kB / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.3169, allocations: 0 / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.335, allocations: 1.637 MB / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.015, allocations: 0 / 1.217 GB, free: 4 kB / 0.9669 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.H,bli.HSet,bli.blindState,bli.occ,bli.samplePeriod,occ.startTime,occ.startValue,occ.y,time