Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.008868/0.008868, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001776/0.001776, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7035/0.7047, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002215/0.7069, allocations: 1.5 MB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.708, allocations: 0.7283 MB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.708, allocations: 1.219 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.7081, allocations: 4.547 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.7081, allocations: 10.67 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.7086, allocations: 125.2 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.7087, allocations: 80.91 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.7088, allocations: 11.3 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.452e-05/0.7089, allocations: 35.16 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.709, allocations: 36.75 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.709, allocations: 6.812 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.7092, allocations: 98.8 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.7092, allocations: 18.44 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.7092, allocations: 28.34 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.7095, allocations: 139.8 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7095, allocations: 1.938 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7095, allocations: 0 / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.7095, allocations: 0 / 1.09 GB, free: 3.477 MB / 0.8575 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.0005068/0.71, allocations: 430 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.7101, allocations: 9.562 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.7101, allocations: 37.38 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.7101, allocations: 9.094 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.867e-05/0.7102, allocations: 177.9 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.7102, allocations: 6.5 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.7103, allocations: 5.516 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.7104, allocations: 75.78 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.7104, allocations: 0 / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.7105, allocations: 6.172 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.7105, allocations: 0 / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.7106, allocations: 36.31 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.7111, allocations: 314.8 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.7112, allocations: 56.92 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/0.7113, allocations: 32.03 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.7114, allocations: 5.828 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.7115, allocations: 73.33 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.7116, allocations: 0 / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003709/0.7119, allocations: 145 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.712, allocations: 54.53 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.712, allocations: 118.6 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.7121, allocations: 31.72 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.7121, allocations: 91.92 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.7121, allocations: 19.48 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.7122, allocations: 25.45 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.7122, allocations: 331.8 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.7123, allocations: 26.94 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.814e-05/0.7124, allocations: 46.64 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.7126, allocations: 72.2 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7126, allocations: 4.688 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002293/0.7128, allocations: 108.4 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7128, allocations: 5.5 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.7128, allocations: 1.188 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.7128, allocations: 2.469 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.7129, allocations: 10.39 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.713, allocations: 6.297 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.423e-05/0.713, allocations: 13.14 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.713, allocations: 7.797 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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 6.488e-05/0.7131, allocations: 123.5 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.7131, allocations: 7.5 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.7132, allocations: 7.5 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.7132, allocations: 0.9062 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.7132, allocations: 0 / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7132, allocations: 2.109 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.7136, allocations: 393.4 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.7136, allocations: 0.6875 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.7136, allocations: 5.203 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7136, allocations: 0.6875 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.7137, allocations: 2.359 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7137, allocations: 5.328 kB / 1.093 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7137, allocations: 0 / 1.093 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.7139, allocations: 215.6 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.714, allocations: 83.81 kB / 1.093 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.714, allocations: 6.094 kB / 1.093 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.7141, allocations: 11.5 kB / 1.093 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.7141, allocations: 5.344 kB / 1.093 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.7141, allocations: 3.438 kB / 1.093 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.445e-05/0.7142, allocations: 95.33 kB / 1.093 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7142, allocations: 0.875 kB / 1.093 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002971/0.7145, allocations: 46.17 kB / 1.093 GB, free: 0.5703 MB / 0.8575 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.000672/0.7151, allocations: 0.807 MB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.7154, allocations: 72.25 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7154, allocations: 0.75 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.7155, allocations: 36.55 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.7158, allocations: 9.109 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.7174, allocations: 1.49 MB / 1.096 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.7178, allocations: 0.687 MB / 1.096 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.419e-05/0.7178, allocations: 9.188 kB / 1.096 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.7179, allocations: 24.95 kB / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.7179, allocations: 0 / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.7382, allocations: 2.63 MB / 1.099 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/7.629, allocations: 10.3 kB / 1.099 GB, free: 13.3 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed