Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.000841/0.000841, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005045/0.005045, allocations: 169.8 kB / 16.27 MB, free: 6.66 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.167/1.167, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.003/2.003, allocations: 390.9 MB / 0.6664 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002699, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5239/0.5241, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001107/0.5253, allocations: 1.204 MB / 0.9563 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008156/0.5261, allocations: 0.7095 MB / 0.957 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.5262, allocations: 4.844 kB / 0.957 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.5262, allocations: 0 / 0.957 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.5262, allocations: 13.83 kB / 0.9571 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.5266, allocations: 108.6 kB / 0.9572 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.812e-05/0.5267, allocations: 64.06 kB / 0.9572 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.5268, allocations: 13.53 kB / 0.9572 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.389e-05/0.5269, allocations: 28.42 kB / 0.9573 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.5269, allocations: 38.39 kB / 0.9573 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.527, allocations: 3.094 kB / 0.9573 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.5271, allocations: 84.47 kB / 0.9574 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.5271, allocations: 11.58 kB / 0.9574 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.5272, allocations: 62.5 kB / 0.9575 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.5273, allocations: 130.5 kB / 0.9576 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5273, allocations: 1.125 kB / 0.9576 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5273, allocations: 0 / 0.9576 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.5274, allocations: 3.938 kB / 0.9576 GB, free: 5.844 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.0003651/0.5277, allocations: 431.6 kB / 0.958 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5278, allocations: 12.67 kB / 0.958 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.5278, allocations: 36.88 kB / 0.958 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.5278, allocations: 7.375 kB / 0.958 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.878e-05/0.5279, allocations: 172.3 kB / 0.9582 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.5279, allocations: 7.188 kB / 0.9582 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.5279, allocations: 7.578 kB / 0.9582 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.5281, allocations: 74.92 kB / 0.9583 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.5281, allocations: 5.125 kB / 0.9583 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.5281, allocations: 4 kB / 0.9583 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.5281, allocations: 5.094 kB / 0.9583 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.5283, allocations: 45.94 kB / 0.9584 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.5286, allocations: 290.1 kB / 0.9586 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5287, allocations: 55.73 kB / 0.9587 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.765e-05/0.5288, allocations: 37.69 kB / 0.9587 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.5288, allocations: 1 kB / 0.9587 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.529, allocations: 88.05 kB / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.529, allocations: 1.219 kB / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003378/0.5293, allocations: 143.6 kB / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.5294, allocations: 52.91 kB / 0.959 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.5294, allocations: 128.8 kB / 0.9591 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.5294, allocations: 38.98 kB / 0.9592 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.502e-05/0.5295, allocations: 90.8 kB / 0.9592 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.5295, allocations: 18.58 kB / 0.9593 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.5295, allocations: 18.06 kB / 0.9593 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.5296, allocations: 324.6 kB / 0.9596 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.5296, allocations: 23.83 kB / 0.9596 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.5297, allocations: 64.42 kB / 0.9597 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.5298, allocations: 97.14 kB / 0.9598 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5298, allocations: 1.469 kB / 0.9598 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001889/0.53, allocations: 121.8 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.5301, allocations: 5.5 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5301, allocations: 1.375 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-06/0.5301, allocations: 2.75 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.5302, allocations: 21.55 kB / 0.9599 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5302, allocations: 2.75 kB / 0.9599 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.5302, allocations: 13.44 kB / 0.9599 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.5302, allocations: 4.125 kB / 0.9599 GB, free: 3.59 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.pDown,$PRE.bli.pDown,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.216e-05/0.5303, allocations: 129 kB / 0.9601 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.5303, allocations: 6.656 kB / 0.9601 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.5303, allocations: 9.75 kB / 0.9601 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5304, allocations: 1.375 kB / 0.9601 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5304, allocations: 3.938 kB / 0.9601 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5304, allocations: 1.375 kB / 0.9601 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.5307, allocations: 387.1 kB / 0.9604 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5307, allocations: 0 / 0.9604 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.5307, allocations: 8.109 kB / 0.9604 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5308, allocations: 1.375 kB / 0.9605 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.5308, allocations: 1.375 kB / 0.9605 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5308, allocations: 3.938 kB / 0.9605 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5308, allocations: 0 / 0.9605 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.531, allocations: 218.3 kB / 0.9607 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.531, allocations: 90.27 kB / 0.9608 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.531, allocations: 5.312 kB / 0.9608 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.5311, allocations: 16.05 kB / 0.9608 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.5312, allocations: 2.75 kB / 0.9608 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.5312, allocations: 2.75 kB / 0.9608 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.84e-05/0.5312, allocations: 96.89 kB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5312, allocations: 0 / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002515/0.5315, allocations: 39.48 kB / 0.9609 GB, free: 2.672 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.pDown,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.0005048/0.532, allocations: 0.8074 MB / 0.9617 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.5322, allocations: 69.28 kB / 0.9618 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5322, allocations: 4.312 kB / 0.9618 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.5323, allocations: 39.75 kB / 0.9618 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.5325, allocations: 15.61 kB / 0.9618 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.5336, allocations: 1.529 MB / 0.9633 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.5337, allocations: 0.6954 MB / 0.964 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.5338, allocations: 8.188 kB / 0.964 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.5338, allocations: 21.8 kB / 0.964 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.5338, allocations: 0 / 0.964 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.581/2.115, allocations: 2.311 MB / 0.9663 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/2.115, allocations: 263 kB / 0.9665 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/4.265, allocations: 0 / 0.9665 GB, free: 14.36 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time