Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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.001404/0.001404, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001388/0.001388, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.031 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.496/2.496, allocations: 476.7 MB / 0.7628 GB, free: 15.31 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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 71.89 kB / 1.107 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.722/0.7237, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001398/0.7251, allocations: 0.6142 MB / 1.272 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 2.966e-05/0.7252, allocations: 5 kB / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/0.7252, allocations: 0 / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.7252, allocations: 0 / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.7252, allocations: 4.906 kB / 1.272 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.69e-05/0.7252, allocations: 0.7031 kB / 1.272 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.175e-05/0.7253, allocations: 4.969 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.7253, allocations: 2.406 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.23e-05/0.7253, allocations: 0.5469 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.579e-05/0.7254, allocations: 2.984 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.7254, allocations: 0 / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.665e-06/0.7254, allocations: 0.9375 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/0.7254, allocations: 0 / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.7254, allocations: 0.8438 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 4.229e-05/0.7254, allocations: 10.66 kB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.7254, allocations: 4.875 kB / 1.272 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7254, allocations: 0 / 1.272 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7254, allocations: 0.9062 kB / 1.272 GB, free: 7.355 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001633/0.7256, allocations: 310.1 kB / 1.272 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.7256, allocations: 9.062 kB / 1.272 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.237e-05/0.7257, allocations: 32.19 kB / 1.272 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.433e-05/0.7257, allocations: 4.875 kB / 1.272 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.233e-05/0.7257, allocations: 163.7 kB / 1.272 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.7257, allocations: 384 / 1.272 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-06/0.7257, allocations: 1.281 kB / 1.272 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.271e-05/0.7258, allocations: 32.05 kB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.7258, allocations: 3.938 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-06/0.7258, allocations: 4.844 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.7258, allocations: 3.984 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.329e-05/0.7258, allocations: 3.016 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.052e-05/0.7259, allocations: 144.1 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.578e-05/0.7259, allocations: 23.98 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.7259, allocations: 15.36 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.7259, allocations: 4.656 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.152e-05/0.726, allocations: 32.28 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.726, allocations: 0 / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 8.548e-05/0.726, allocations: 35.89 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.7261, allocations: 56.05 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.083e-05/0.7261, allocations: 89.86 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-06/0.7261, allocations: 30.64 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.915e-06/0.7261, allocations: 80.14 kB / 1.273 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.7261, allocations: 1.484 kB / 1.273 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.7261, allocations: 15.75 kB / 1.273 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.962e-05/0.7262, allocations: 312.1 kB / 1.273 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-06/0.7262, allocations: 0.7188 kB / 1.273 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/0.7262, allocations: 2.25 kB / 1.273 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.847e-05/0.7262, allocations: 11.58 kB / 1.273 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.7262, allocations: 0 / 1.273 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.62e-05/0.7262, allocations: 36.77 kB / 1.273 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.7262, allocations: 4.875 kB / 1.273 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.7262, allocations: 4.688 kB / 1.273 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.7263, allocations: 4.734 kB / 1.273 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.7263, allocations: 2.344 kB / 1.273 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-06/0.7263, allocations: 0 / 1.273 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.7263, allocations: 5.578 kB / 1.273 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.7263, allocations: 0 / 1.273 GB, free: 5.738 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.7263, allocations: 112.2 kB / 1.273 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.7263, allocations: 0.7812 kB / 1.273 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.202e-05/0.7264, allocations: 7.953 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.7264, allocations: 0.6562 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.7264, allocations: 0.8438 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7264, allocations: 0 / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.595e-05/0.7264, allocations: 145.5 kB / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.7264, allocations: 0 / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-06/0.7264, allocations: 3.203 kB / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.7264, allocations: 4 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.7264, allocations: 3.938 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.7264, allocations: 0.9688 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7264, allocations: 4.547 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.879e-05/0.7265, allocations: 60.81 kB / 1.274 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.7265, allocations: 78.33 kB / 1.274 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.7265, allocations: 5.703 kB / 1.274 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-06/0.7265, allocations: 0 / 1.274 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-06/0.7265, allocations: 8.781 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.7265, allocations: 1.422 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.596e-06/0.7265, allocations: 75.28 kB / 1.274 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.7265, allocations: 0 / 1.274 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001618/0.7267, allocations: 1.531 kB / 1.274 GB, free: 5.164 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: 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 (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.0001609/0.7268, allocations: 0.604 MB / 1.274 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.654e-05/0.7269, allocations: 7.953 kB / 1.274 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7269, allocations: 1.219 kB / 1.274 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.25e-06/0.7269, allocations: 2.156 kB / 1.274 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.727, allocations: 4.625 kB / 1.274 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.7272, allocations: 108.1 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.472e-05/0.7273, allocations: 0.671 MB / 1.275 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.097e-06/0.7273, allocations: 4.734 kB / 1.275 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.7273, allocations: 8.156 kB / 1.275 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.7273, allocations: 0 / 1.275 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.7482, allocations: 0.8701 MB / 1.276 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.892/7.64, allocations: 13.88 kB / 1.276 GB, free: 3.355 MB / 0.9981 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.875584116000027]