Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001675/0.001674, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.129/2.129, allocations: 390.2 MB / 0.6643 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 71.88 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5114, allocations: 140.4 MB / 0.949 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001937/0.5133, allocations: 1.551 MB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.5142, allocations: 0.7468 MB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.5142, allocations: 1.219 kB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.5143, allocations: 3.938 kB / 0.9513 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.5143, allocations: 10.09 kB / 0.9513 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.5147, allocations: 107.8 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.224e-05/0.5148, allocations: 70.45 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/0.5149, allocations: 17.94 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.5149, allocations: 25.45 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.515, allocations: 34.66 kB / 0.9515 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.515, allocations: 2.844 kB / 0.9516 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.5151, allocations: 94.47 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.5152, allocations: 22.5 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.5152, allocations: 28.83 kB / 0.9517 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.5154, allocations: 135.9 kB / 0.9518 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5154, allocations: 0 / 0.9518 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.51e-07/0.5154, allocations: 1.406 kB / 0.9518 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.5154, allocations: 0 / 0.9518 GB, free: 7.039 MB / 0.7169 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.0004129/0.5158, allocations: 453.8 kB / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.5159, allocations: 12.72 kB / 0.9523 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.375e-05/0.5159, allocations: 35.81 kB / 0.9523 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.5159, allocations: 13.11 kB / 0.9523 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.488e-05/0.516, allocations: 173.5 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.516, allocations: 9.812 kB / 0.9525 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.516, allocations: 4.75 kB / 0.9525 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.5162, allocations: 77.28 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.5162, allocations: 0 / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5162, allocations: 4 kB / 0.9526 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5162, allocations: 1.625 kB / 0.9526 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.5164, allocations: 44.47 kB / 0.9526 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.5167, allocations: 294.1 kB / 0.9529 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.5168, allocations: 48.91 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.5169, allocations: 36.27 kB / 0.953 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.5169, allocations: 5.156 kB / 0.953 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.5171, allocations: 78.19 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.5171, allocations: 0 / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000341/0.5175, allocations: 145.2 kB / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.5175, allocations: 58.25 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.756e-05/0.5175, allocations: 130.5 kB / 0.9534 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.5176, allocations: 30.67 kB / 0.9534 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.5176, allocations: 91.3 kB / 0.9535 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.5176, allocations: 22.92 kB / 0.9535 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.5176, allocations: 25.84 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.5177, allocations: 324.9 kB / 0.9538 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.5178, allocations: 24.55 kB / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.5178, allocations: 66.16 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.518, allocations: 87.64 kB / 0.954 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.518, allocations: 1.438 kB / 0.954 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001858/0.5182, allocations: 115.8 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.5182, allocations: 7.719 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.5182, allocations: 2.156 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.5182, allocations: 6.234 kB / 0.9541 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.426e-05/0.5183, allocations: 17.44 kB / 0.9542 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.5183, allocations: 2.812 kB / 0.9542 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.8e-05/0.5184, allocations: 12.23 kB / 0.9542 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5184, allocations: 8.219 kB / 0.9542 GB, free: 4.746 MB / 0.7169 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 5.1e-05/0.5184, allocations: 116.5 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.5184, allocations: 7.844 kB / 0.9543 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.5185, allocations: 9.688 kB / 0.9543 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.5185, allocations: 1.156 kB / 0.9543 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5185, allocations: 4 kB / 0.9543 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5185, allocations: 3.984 kB / 0.9543 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.5188, allocations: 389.1 kB / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5188, allocations: 0 / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.5189, allocations: 3.812 kB / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5189, allocations: 1.531 kB / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5189, allocations: 3.984 kB / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5189, allocations: 5.484 kB / 0.9547 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5189, allocations: 11.98 kB / 0.9547 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.5192, allocations: 215.2 kB / 0.9549 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.5192, allocations: 86.58 kB / 0.955 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.5192, allocations: 1.281 kB / 0.955 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.059e-05/0.5193, allocations: 14.73 kB / 0.955 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.5193, allocations: 6.719 kB / 0.955 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.5194, allocations: 5.859 kB / 0.955 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.127e-05/0.5194, allocations: 98.55 kB / 0.9551 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5194, allocations: 0 / 0.9551 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002643/0.5197, allocations: 36.5 kB / 0.9552 GB, free: 3.824 MB / 0.7169 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.0005349/0.5202, allocations: 0.8099 MB / 0.9559 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.5204, allocations: 72.17 kB / 0.956 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5204, allocations: 1.094 kB / 0.956 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.109e-05/0.5205, allocations: 32.45 kB / 0.956 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.5208, allocations: 21.72 kB / 0.9561 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.5218, allocations: 1.528 MB / 0.9576 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.131e-05/0.5219, allocations: 0.6947 MB / 0.9582 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.522, allocations: 2.562 kB / 0.9582 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.522, allocations: 22.36 kB / 0.9583 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.522, allocations: 0 / 0.9583 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.589/2.111, allocations: 2.512 MB / 0.9607 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000326/2.111, allocations: 277 kB / 0.961 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/4.095, allocations: 0 / 0.961 GB, free: 15.26 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time