Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 216.5 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.821/2.821, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 68.08 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 169.9 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.003184/0.3135, allocations: 1.539 MB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3151, allocations: 0.8391 MB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.694e-05/0.3152, allocations: 3.938 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.3153, allocations: 7.922 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-05/0.3153, allocations: 11.88 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.316, allocations: 159.5 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.3162, allocations: 71.77 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3163, allocations: 8 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.3164, allocations: 47.83 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/0.3165, allocations: 31.84 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.3165, allocations: 11.94 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/0.3169, allocations: 147.8 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.3169, allocations: 11.97 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.317, allocations: 35.8 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.3173, allocations: 159 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3173, allocations: 0 / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3173, allocations: 0 / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.3173, allocations: 0 / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007229/0.318, allocations: 386.7 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3181, allocations: 12.03 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.3181, allocations: 46.73 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/0.3185, allocations: 24.88 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.3187, allocations: 130.4 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.3188, allocations: 4.375 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.3188, allocations: 8.375 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.319, allocations: 69.78 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.319, allocations: 3.938 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.319, allocations: 3.938 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.319, allocations: 4 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.3192, allocations: 43.95 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.3197, allocations: 275.8 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.3198, allocations: 46.55 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.588e-05/0.3199, allocations: 36.91 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.32, allocations: 4 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.3201, allocations: 75.38 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3201, allocations: 0 / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004435/0.3206, allocations: 141.6 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3206, allocations: 55.41 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3208, allocations: 132.9 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3208, allocations: 33.64 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.3208, allocations: 96.12 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3209, allocations: 15.91 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.3209, allocations: 29.7 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3211, allocations: 322.8 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.522e-05/0.3212, allocations: 23.97 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3213, allocations: 69.03 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.3215, allocations: 93.06 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3215, allocations: 0 / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002416/0.3217, allocations: 113.5 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3217, allocations: 8 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3217, allocations: 0 / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3217, allocations: 0 / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.3218, allocations: 20.09 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3218, allocations: 3.984 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.3219, allocations: 11.95 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3219, allocations: 4 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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.0001004/0.322, allocations: 121.8 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.322, allocations: 7.953 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.3221, allocations: 12.36 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3221, allocations: 0 / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3221, allocations: 11.94 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3221, allocations: 0 / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.3226, allocations: 349.5 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3226, allocations: 0 / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.3226, allocations: 4 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3226, allocations: 0 / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3226, allocations: 11.98 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3227, allocations: 3.938 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3227, allocations: 0 / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.323, allocations: 231.3 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.323, allocations: 15.89 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.323, allocations: 0 / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.3231, allocations: 7.922 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.3232, allocations: 8 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3232, allocations: 7.984 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.513e-05/0.3232, allocations: 95.27 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3232, allocations: 7.938 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003303/0.3236, allocations: 35.94 kB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009295/0.3245, allocations: 0.8082 MB / 1.29 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.3248, allocations: 67.89 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3248, allocations: 0 / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3249, allocations: 31.98 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.3252, allocations: 27.14 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.327, allocations: 1.533 MB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3273, allocations: 0.6846 MB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.3274, allocations: 7.984 kB / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.3274, allocations: 23.44 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3274, allocations: 0 / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.3585, allocations: 2.911 MB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.35, allocations: 4.062 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bli.H in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:time,H.y,bli.blindState,bli.p,H.amplitude,H.f [Calling sys.exit(0), Time elapsed: 18.041746392998903]