Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.006948/0.006948, allocations: 97.44 kB / 15.73 MB, free: 6.043 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.001584/0.001584, allocations: 202.6 kB / 16.68 MB, free: 5.961 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.374/2.374, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 59.28 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3037, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003499/0.3072, allocations: 1.497 MB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.309, allocations: 0.7259 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.3091, allocations: 3.938 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.3092, allocations: 7.922 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.3093, allocations: 11.86 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007868/0.3101, allocations: 127.6 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.3103, allocations: 75.78 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3104, allocations: 11.97 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3105, allocations: 39.91 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.853e-05/0.3106, allocations: 39.83 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.3106, allocations: 8 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.3109, allocations: 95.84 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.3109, allocations: 11.92 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.311, allocations: 39.84 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.3113, allocations: 142.5 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3114, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3114, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3114, allocations: 0 / 1.09 GB, free: 15.16 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.0007568/0.3121, allocations: 417.8 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3122, allocations: 8.031 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.3123, allocations: 42.69 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.3123, allocations: 12.84 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.3125, allocations: 168.2 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3125, allocations: 8.312 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3125, allocations: 12.36 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3127, allocations: 73.77 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3128, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3128, allocations: 3.938 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.3128, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3129, allocations: 35.97 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.3135, allocations: 324.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3137, allocations: 50.56 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.889e-05/0.3138, allocations: 32.97 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3138, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.314, allocations: 83.31 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3141, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004626/0.3145, allocations: 141.6 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3146, allocations: 55.41 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.3147, allocations: 117.8 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3147, allocations: 33.7 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.3148, allocations: 96.03 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.3148, allocations: 11.81 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.3149, allocations: 29.7 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.315, allocations: 322.8 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.3151, allocations: 23.97 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.793e-05/0.3152, allocations: 58.94 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3154, allocations: 70.55 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3154, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002469/0.3156, allocations: 109.5 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3157, allocations: 5.562 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3157, allocations: 4.062 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.3157, allocations: 7.984 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3158, allocations: 15.92 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3158, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.3159, allocations: 11.91 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3159, allocations: 4 kB / 1.092 GB, free: 12.56 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 9.822e-05/0.316, allocations: 121.7 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.316, allocations: 11.89 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.3161, allocations: 12.38 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3161, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3161, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3161, allocations: 4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.3166, allocations: 382.4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3166, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.3166, allocations: 4 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3167, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3167, allocations: 7.984 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3167, allocations: 3.938 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3167, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.317, allocations: 215.8 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.3171, allocations: 85 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.3171, allocations: 8 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.3172, allocations: 3.938 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.3172, allocations: 15.98 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.3173, allocations: 4 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.3173, allocations: 95.42 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3173, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000313/0.3176, allocations: 39.94 kB / 1.093 GB, free: 11.47 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.0007463/0.3184, allocations: 0.7957 MB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.3186, allocations: 63.95 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3186, allocations: 0 / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/0.3188, allocations: 40.05 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.319, allocations: 15.86 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.3206, allocations: 1.494 MB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.3209, allocations: 0.6923 MB / 1.096 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.24e-05/0.3209, allocations: 15.72 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.321, allocations: 19.44 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.321, allocations: 0 / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.3389, allocations: 2.633 MB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.818, allocations: 12.25 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset