Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.461/2.461, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 76.06 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7907/0.7925, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002432/0.795, allocations: 1.533 MB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.7961, allocations: 0.7424 MB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.7961, allocations: 0.9062 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.7961, allocations: 9.281 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.7962, allocations: 10.28 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.7967, allocations: 123.6 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.7968, allocations: 75.48 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.004e-05/0.7968, allocations: 9.391 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.114e-05/0.7969, allocations: 38.77 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.797, allocations: 42.5 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.797, allocations: 7.031 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.7972, allocations: 109.8 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.7972, allocations: 16.7 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.7972, allocations: 27.16 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.7975, allocations: 139.1 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.7975, allocations: 0 / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.374e-06/0.7975, allocations: 0.7812 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.7975, allocations: 0 / 1.274 GB, free: 5.926 MB / 0.9981 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.0004852/0.7979, allocations: 429.9 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.798, allocations: 9.094 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.798, allocations: 32.53 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.798, allocations: 12.14 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.398e-05/0.7981, allocations: 174.2 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.7981, allocations: 7.312 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.7981, allocations: 7.75 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.7983, allocations: 69.66 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.7983, allocations: 0 / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.7983, allocations: 9.062 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7983, allocations: 0.9688 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.7984, allocations: 35.73 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.7989, allocations: 313.8 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.799, allocations: 48.42 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.665e-05/0.7991, allocations: 30.91 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.7991, allocations: 0.875 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.7993, allocations: 89.58 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.7993, allocations: 0 / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003477/0.7997, allocations: 128.6 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.7997, allocations: 58.38 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.7997, allocations: 126.9 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.7998, allocations: 27.42 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.7998, allocations: 87.67 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.7998, allocations: 16.48 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.7998, allocations: 30.47 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.51e-05/0.7999, allocations: 322.4 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.7999, allocations: 27.02 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.8, allocations: 46.97 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.8002, allocations: 72.84 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8002, allocations: 0.75 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002141/0.8004, allocations: 119.9 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.8004, allocations: 9.406 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.8004, allocations: 0.75 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.8004, allocations: 1.531 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/0.8005, allocations: 19.08 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.8005, allocations: 2.047 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.069e-05/0.8006, allocations: 13.28 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.8006, allocations: 3.594 kB / 1.276 GB, free: 3.891 MB / 0.9981 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 5.403e-05/0.8006, allocations: 125.4 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.8006, allocations: 7.641 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.8007, allocations: 9.406 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.8007, allocations: 1.094 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.8007, allocations: 4.844 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.8007, allocations: 0 / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.801, allocations: 384.1 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.801, allocations: 4.812 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.801, allocations: 3.344 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.801, allocations: 0.8438 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.801, allocations: 4.109 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.801, allocations: 5.125 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.801, allocations: 0 / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.8013, allocations: 218.9 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.8013, allocations: 83.2 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.8013, allocations: 2.812 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.8014, allocations: 7.219 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.8014, allocations: 10.05 kB / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.8014, allocations: 1.75 kB / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.8015, allocations: 96.97 kB / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8015, allocations: 0 / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00027/0.8017, allocations: 42.67 kB / 1.277 GB, free: 3.027 MB / 0.9981 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.0005903/0.8023, allocations: 0.7975 MB / 1.278 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.8025, allocations: 74.33 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8025, allocations: 1.25 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.858e-05/0.8026, allocations: 36.28 kB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.8029, allocations: 9.438 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.8042, allocations: 1.506 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.8045, allocations: 0.6954 MB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.8045, allocations: 3.906 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.8045, allocations: 22.59 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.8045, allocations: 0 / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.8288, allocations: 2.642 MB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.846, allocations: 8.984 kB / 1.283 GB, free: 15.72 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 13.112070646000575]