Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001808/0.001808, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.002212/0.002212, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.468/1.468, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 443.5 MB / 0.7287 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 1.056 GB, free: 2.5 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 160.7 MB / 1.213 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003121/0.345, allocations: 1.496 MB / 1.214 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.3465, allocations: 0.7446 MB / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.3466, allocations: 4 kB / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.3466, allocations: 3.938 kB / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.459e-05/0.3467, allocations: 15.84 kB / 1.215 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.3473, allocations: 119.6 kB / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.3475, allocations: 71.77 kB / 1.215 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3476, allocations: 12.27 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3477, allocations: 39.86 kB / 1.215 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.145e-05/0.3477, allocations: 35.89 kB / 1.215 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3478, allocations: 8 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.348, allocations: 103.8 kB / 1.215 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.348, allocations: 19.97 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.3481, allocations: 31.86 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.3483, allocations: 151.4 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3483, allocations: 0 / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3483, allocations: 0 / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.3483, allocations: 0 / 1.216 GB, free: 14.6 MB / 0.9669 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.0006944/0.349, allocations: 424.7 kB / 1.216 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3491, allocations: 8.031 kB / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.3491, allocations: 38.73 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.3492, allocations: 8.891 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3493, allocations: 172.3 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.3493, allocations: 4.375 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3494, allocations: 12.36 kB / 1.216 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.3496, allocations: 69.72 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3496, allocations: 0 / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.3496, allocations: 7.984 kB / 1.216 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3496, allocations: 4 kB / 1.216 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.3497, allocations: 35.98 kB / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.3504, allocations: 316.8 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3505, allocations: 46.5 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.3506, allocations: 32.97 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.3506, allocations: 4 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.3509, allocations: 75.36 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3509, allocations: 0 / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004081/0.3513, allocations: 141.7 kB / 1.217 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.3514, allocations: 67.27 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3515, allocations: 125.7 kB / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.3515, allocations: 33.7 kB / 1.217 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.3516, allocations: 88.12 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.3516, allocations: 23.78 kB / 1.217 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.3517, allocations: 25.7 kB / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3518, allocations: 318.8 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.831e-05/0.3519, allocations: 35.97 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.352, allocations: 46.56 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.3522, allocations: 70.48 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3522, allocations: 0 / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002514/0.3524, allocations: 117.5 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3524, allocations: 8 kB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3524, allocations: 0 / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3525, allocations: 0 / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3526, allocations: 8 kB / 1.218 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3526, allocations: 7.984 kB / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.3526, allocations: 4 kB / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3527, allocations: 0 / 1.218 GB, free: 12.01 MB / 0.9669 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 0.0001131/0.3528, allocations: 129.8 kB / 1.218 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.3528, allocations: 7.953 kB / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.3528, allocations: 12.36 kB / 1.218 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3528, allocations: 0 / 1.218 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3528, allocations: 0 / 1.218 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3528, allocations: 0 / 1.218 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.3533, allocations: 386.4 kB / 1.218 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.3533, allocations: 4 kB / 1.218 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.3534, allocations: 7.938 kB / 1.218 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3534, allocations: 4 kB / 1.218 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3534, allocations: 3.984 kB / 1.218 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3534, allocations: 3.938 kB / 1.218 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3534, allocations: 3.938 kB / 1.218 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.3537, allocations: 207.5 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.3538, allocations: 81.06 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3538, allocations: 7.984 kB / 1.219 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.3539, allocations: 11.94 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.3539, allocations: 7.984 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3539, allocations: 0 / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.739e-05/0.354, allocations: 99.27 kB / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.354, allocations: 0 / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003069/0.3543, allocations: 35.94 kB / 1.219 GB, free: 10.91 MB / 0.9669 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.0009318/0.3553, allocations: 0.8107 MB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.3555, allocations: 71.95 kB / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3555, allocations: 0 / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.405e-05/0.3556, allocations: 27.98 kB / 1.22 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.3559, allocations: 19.83 kB / 1.22 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.3576, allocations: 1.492 MB / 1.221 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.358, allocations: 0.6885 MB / 1.222 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.077e-05/0.358, allocations: 7.984 kB / 1.222 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.358, allocations: 19.44 kB / 1.222 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.358, allocations: 0 / 1.222 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.3844, allocations: 2.659 MB / 1.225 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.53, allocations: 15.03 kB / 1.225 GB, free: 5.105 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.528693135362118]