Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001146/0.001146, 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.00115/0.00115, 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.292/1.292, allocations: 225.6 MB / 249.3 MB, free: 3.16 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.516/2.516, allocations: 476.7 MB / 0.7628 GB, free: 15.2 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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 67.89 kB / 1.107 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9201/0.9219, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002051/0.9239, allocations: 1.23 MB / 1.273 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000229/0.9242, allocations: 58.81 kB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.9242, allocations: 0.7812 kB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.489e-05/0.9242, allocations: 0.6562 kB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.9243, allocations: 11.83 kB / 1.273 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.9245, allocations: 10.41 kB / 1.273 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.534e-05/0.9246, allocations: 14.14 kB / 1.273 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.9246, allocations: 6.266 kB / 1.273 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.415e-05/0.9246, allocations: 14.5 kB / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.9247, allocations: 12.7 kB / 1.273 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.9247, allocations: 0.75 kB / 1.273 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.517e-05/0.9248, allocations: 9.656 kB / 1.273 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.672e-05/0.9249, allocations: 47.39 kB / 1.273 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.9249, allocations: 43.94 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.9251, allocations: 78.2 kB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.9251, allocations: 1 kB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9251, allocations: 0 / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.9251, allocations: 0 / 1.273 GB, free: 6.734 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003615/0.9254, allocations: 426.1 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.9255, allocations: 10.28 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.9255, allocations: 106.8 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.9256, allocations: 96.05 kB / 1.273 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.695e-05/0.9257, allocations: 267.7 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.9257, allocations: 158.5 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.9257, allocations: 152 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.774e-05/0.9257, allocations: 105.8 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.9258, allocations: 80.86 kB / 1.274 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.9258, allocations: 155.5 kB / 1.274 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.9258, allocations: 150.6 kB / 1.274 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.9258, allocations: 151.4 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.926, allocations: 0.4934 MB / 1.275 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.082e-05/0.9261, allocations: 174.6 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.9261, allocations: 80.94 kB / 1.275 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.9261, allocations: 80 kB / 1.275 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.9261, allocations: 107.4 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.9261, allocations: 0 / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.366e-05/0.9262, allocations: 38.36 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.9262, allocations: 135.5 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.9264, allocations: 232.2 kB / 1.276 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.9265, allocations: 25.7 kB / 1.276 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.9265, allocations: 111.2 kB / 1.276 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.9265, allocations: 0 / 1.276 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.9266, allocations: 38.02 kB / 1.276 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.9266, allocations: 331.9 kB / 1.276 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.9267, allocations: 55.41 kB / 1.276 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-05/0.9268, allocations: 58.94 kB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.927, allocations: 139.2 kB / 1.277 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.927, allocations: 0 / 1.277 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002832/0.9272, allocations: 168.8 kB / 1.277 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.9273, allocations: 8.906 kB / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.9273, allocations: 1.094 kB / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.9273, allocations: 6.375 kB / 1.277 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.9273, allocations: 0.9062 kB / 1.277 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.9273, allocations: 0 / 1.277 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.9273, allocations: 15.28 kB / 1.277 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.9273, allocations: 9.094 kB / 1.277 GB, free: 3.008 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): 0 * Array equations: 1 * 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 7.441e-05/0.9274, allocations: 213.2 kB / 1.277 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.9275, allocations: 113.5 kB / 1.277 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.9275, allocations: 115.9 kB / 1.277 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.637e-05/0.9276, allocations: 177.9 kB / 1.277 GB, free: 18.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-05/0.9277, allocations: 186 kB / 1.278 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-05/0.9277, allocations: 184.6 kB / 1.278 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.928, allocations: 440.4 kB / 1.278 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-05/0.928, allocations: 105.7 kB / 1.278 GB, free: 17.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.9281, allocations: 101.9 kB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.002e-05/0.9281, allocations: 178.6 kB / 1.279 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.9282, allocations: 185.1 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.584e-05/0.9283, allocations: 179.6 kB / 1.279 GB, free: 16.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.716e-05/0.9283, allocations: 193.1 kB / 1.279 GB, free: 16.61 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.9285, allocations: 312.5 kB / 1.279 GB, free: 16.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.9286, allocations: 198.6 kB / 1.28 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/0.9286, allocations: 184.6 kB / 1.28 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.9287, allocations: 106.2 kB / 1.28 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.9288, allocations: 177.3 kB / 1.28 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.9288, allocations: 102.1 kB / 1.28 GB, free: 15.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001232/0.929, allocations: 156.9 kB / 1.28 GB, free: 15.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.929, allocations: 0.7812 kB / 1.28 GB, free: 15.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002343/0.9292, allocations: 25.19 kB / 1.28 GB, free: 15.39 MB / 1.014 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 (0): * Single equations (assignments): 0 * 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.0004475/0.9296, allocations: 0.8257 MB / 1.281 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.9298, allocations: 57.91 kB / 1.281 GB, free: 14.56 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9298, allocations: 4.844 kB / 1.281 GB, free: 14.56 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.9298, allocations: 3.938 kB / 1.281 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.9302, allocations: 460.2 kB / 1.282 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.9322, allocations: 2.133 MB / 1.284 GB, free: 12.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.9325, allocations: 0.7133 MB / 1.284 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.9326, allocations: 9.516 kB / 1.284 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.9326, allocations: 30.38 kB / 1.284 GB, free: 11.87 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.9326, allocations: 0.8125 kB / 1.284 GB, free: 11.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.9569, allocations: 2.751 MB / 1.287 GB, free: 11.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/8.01, allocations: 9.391 kB / 1.287 GB, free: 11.38 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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: 13.43304911299947]