Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",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.001158/0.001158, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001455/0.001455, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.601/2.601, allocations: 409.4 MB / 0.684 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 12 kB / 0.8378 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8071/0.8074, allocations: 146.8 MB / 0.9812 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.0007708/0.8083, allocations: 313.3 kB / 0.9815 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 4.105e-05/0.8083, allocations: 0 / 0.9815 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.8083, allocations: 0 / 0.9815 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.8084, allocations: 7.938 kB / 0.9815 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.831e-05/0.8084, allocations: 4 kB / 0.9815 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.019e-05/0.8084, allocations: 4 kB / 0.9815 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.765e-05/0.8085, allocations: 0 / 0.9815 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.8086, allocations: 0 / 0.9815 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.8086, allocations: 3.938 kB / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.306e-05/0.8086, allocations: 4 kB / 0.9815 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.208e-06/0.8086, allocations: 0 / 0.9815 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-06/0.8086, allocations: 0 / 0.9815 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.8087, allocations: 0 / 0.9815 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.8087, allocations: 25.7 kB / 0.9815 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.838e-05/0.8087, allocations: 3.984 kB / 0.9815 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8088, allocations: 4 kB / 0.9815 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8088, allocations: 0 / 0.9815 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.8088, allocations: 0 / 0.9815 GB, free: 5.879 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002667/0.809, allocations: 309.7 kB / 0.9818 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.8091, allocations: 8.031 kB / 0.9818 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.8091, allocations: 30.56 kB / 0.9818 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.8092, allocations: 4 kB / 0.9818 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.302e-05/0.8093, allocations: 159.1 kB / 0.982 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.8093, allocations: 3.938 kB / 0.982 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.8093, allocations: 8 kB / 0.982 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/0.8094, allocations: 33.64 kB / 0.982 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.8094, allocations: 0 / 0.982 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.8094, allocations: 0 / 0.982 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.8095, allocations: 0 / 0.982 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.04e-05/0.8095, allocations: 4 kB / 0.982 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.8096, allocations: 145.6 kB / 0.9822 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.207e-05/0.8097, allocations: 22.52 kB / 0.9822 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.8097, allocations: 12.95 kB / 0.9822 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.8097, allocations: 3.984 kB / 0.9822 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.8098, allocations: 34.55 kB / 0.9823 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.8098, allocations: 0 / 0.9823 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.8099, allocations: 37.66 kB / 0.9823 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.81, allocations: 55.41 kB / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.766e-05/0.81, allocations: 89.98 kB / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.81, allocations: 29.7 kB / 0.9825 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.8101, allocations: 80.14 kB / 0.9825 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.8101, allocations: 3.906 kB / 0.9825 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-06/0.8101, allocations: 0 / 0.9825 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8102, allocations: 310.8 kB / 0.9828 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.8102, allocations: 7.938 kB / 0.9828 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-06/0.8102, allocations: 0 / 0.9828 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.8103, allocations: 0 / 0.9828 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8103, allocations: 4.062 kB / 0.9828 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.252e-05/0.8103, allocations: 41.69 kB / 0.9829 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.8104, allocations: 4 kB / 0.9829 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.8104, allocations: 3.938 kB / 0.9829 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.8104, allocations: 0 / 0.9829 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.8105, allocations: 3.953 kB / 0.9829 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.8105, allocations: 7.984 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.1e-05/0.8105, allocations: 0 / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.8105, allocations: 0 / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.8106, allocations: 109.9 kB / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-06/0.8106, allocations: 0 / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.326e-05/0.8106, allocations: 7.109 kB / 0.983 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8106, allocations: 0 / 0.983 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.8106, allocations: 11.89 kB / 0.983 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.8107, allocations: 0 / 0.983 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.122e-05/0.8107, allocations: 149.7 kB / 0.9832 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8108, allocations: 0 / 0.9832 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.8108, allocations: 0 / 0.9832 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.8108, allocations: 4 kB / 0.9832 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.8108, allocations: 7.938 kB / 0.9832 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8108, allocations: 0 / 0.9832 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8108, allocations: 3.984 kB / 0.9832 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.806e-05/0.8109, allocations: 57.09 kB / 0.9832 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.8109, allocations: 79.36 kB / 0.9833 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.8109, allocations: 4 kB / 0.9833 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.8109, allocations: 0 / 0.9833 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.811, allocations: 0 / 0.9833 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.811, allocations: 4.031 kB / 0.9833 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.722e-05/0.811, allocations: 79.27 kB / 0.9834 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.811, allocations: 0 / 0.9834 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001953/0.8112, allocations: 7.953 kB / 0.9834 GB, free: 3.617 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003745/0.8116, allocations: 0.5982 MB / 0.984 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.129e-05/0.8117, allocations: 3.984 kB / 0.984 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8117, allocations: 4 kB / 0.984 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.8117, allocations: 3.938 kB / 0.984 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.8118, allocations: 0 / 0.984 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.8122, allocations: 110.3 kB / 0.9841 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.8124, allocations: 0.6731 MB / 0.9848 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.34e-05/0.8125, allocations: 128 / 0.9848 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.8125, allocations: 11.44 kB / 0.9848 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.8125, allocations: 0 / 0.9848 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01068/0.8232, allocations: 0.7333 MB / 0.9855 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.8234, allocations: 217.6 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.578, allocations: 0 / 0.9857 GB, free: 1.316 MB / 0.7325 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat does not exist to compare? outputFormat=mat