Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.009457/0.009457, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001859/0.001859, allocations: 195.6 kB / 16.67 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.45/2.45, allocations: 390.3 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 56.94 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3025, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003107/0.3057, allocations: 1.5 MB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3073, allocations: 0.8232 MB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.3074, allocations: 3.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.3074, allocations: 7.922 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.3075, allocations: 11.86 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/0.3083, allocations: 159.5 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3085, allocations: 95.7 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3086, allocations: 15.97 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3087, allocations: 31.92 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3088, allocations: 47.81 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.3088, allocations: 8 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.3091, allocations: 131.8 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.3092, allocations: 19.92 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.3092, allocations: 43.78 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.3096, allocations: 178.4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3096, allocations: 4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3096, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.3096, allocations: 0 / 1.09 GB, free: 14.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008345/0.3104, allocations: 483.3 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3105, allocations: 12.03 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.3106, allocations: 38.73 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.3106, allocations: 12.78 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3108, allocations: 176.2 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.3108, allocations: 4.375 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3108, allocations: 8.312 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.3111, allocations: 93.75 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3111, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3111, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3111, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.3113, allocations: 55.91 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.3119, allocations: 320.7 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.3122, allocations: 78.64 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.3123, allocations: 52.77 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.3123, allocations: 4.156 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.3126, allocations: 95.33 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/0.3126, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005682/0.3132, allocations: 185.5 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.3133, allocations: 51.41 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3134, allocations: 134 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3134, allocations: 33.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.3135, allocations: 96.12 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.3135, allocations: 15.73 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/0.3136, allocations: 33.7 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3137, allocations: 322.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.3138, allocations: 31.98 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.3139, allocations: 62 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3141, allocations: 109.9 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3141, allocations: 3.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002616/0.3144, allocations: 129.6 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3144, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3144, allocations: 11.97 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3144, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.3145, allocations: 12 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3146, allocations: 3.938 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.3146, allocations: 19.89 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.3147, allocations: 4 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000104/0.3148, allocations: 129.8 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.3148, allocations: 7.906 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.3148, allocations: 16.7 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3148, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3149, allocations: 3.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3149, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.3155, allocations: 426.4 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3155, allocations: 4 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.3155, allocations: 7.984 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3155, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3156, allocations: 4 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3156, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3156, allocations: 3.938 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.316, allocations: 251.3 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.316, allocations: 85.02 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.316, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3161, allocations: 15.98 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.3162, allocations: 11.92 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3162, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.3163, allocations: 101.4 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3163, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003473/0.3166, allocations: 51.98 kB / 1.094 GB, free: 10.85 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: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009396/0.3176, allocations: 0.862 MB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.3179, allocations: 87.88 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3179, allocations: 4 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.318, allocations: 39.97 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.3183, allocations: 21.95 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.3202, allocations: 1.585 MB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.3205, allocations: 0.6899 MB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.424e-05/0.3206, allocations: 15.97 kB / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.3206, allocations: 23.44 kB / 1.097 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.3206, allocations: 0 / 1.097 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.3452, allocations: 3.247 MB / 1.1 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.274, allocations: 6.156 kB / 1.101 GB, free: 4.27 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,ac.TIn,ac.occ,ac.on Variables in the result:Tin.amplitude,Tin.f,Tin.offset,Tin.phase,Tin.startTime,Tin.y,ac.L1,ac.L2,ac.TIn,ac.k1,ac.k2,ac.occ,ac.on,ac.pOff,ac.pOn,ac.samplePeriod,ac.seed,ac.u1,ac.u2,occ.startTime,occ.startValue,occ.y,time