Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.007921/0.007921, allocations: 99.97 kB / 15.73 MB, free: 6.008 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.001671/0.001671, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.575/1.575, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.982/2.982, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 67.91 kB / 0.9504 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8127/0.8143, allocations: 140.4 MB / 1.088 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001729/0.8161, allocations: 0.6501 MB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.8163, allocations: 19.58 kB / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.8163, allocations: 0 / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.502e-05/0.8164, allocations: 5.641 kB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.8164, allocations: 1.469 kB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.355e-05/0.8165, allocations: 5.719 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.207e-05/0.8166, allocations: 32.55 kB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.8167, allocations: 29.31 kB / 1.088 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.8168, allocations: 10.91 kB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.153e-05/0.8168, allocations: 19.38 kB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.8168, allocations: 3.438 kB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.8169, allocations: 1.469 kB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.8169, allocations: 18.23 kB / 1.088 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.8169, allocations: 16.42 kB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.76e-05/0.817, allocations: 48.47 kB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.817, allocations: 1.562 kB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8171, allocations: 0 / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.8171, allocations: 0 / 1.088 GB, free: 4.727 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002564/0.8173, allocations: 342.8 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.8174, allocations: 13.06 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.594e-05/0.8174, allocations: 39.33 kB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.8174, allocations: 7.188 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.8176, allocations: 187 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.8176, allocations: 7.125 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.8176, allocations: 3.344 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.8178, allocations: 75.3 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8178, allocations: 3.938 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.8178, allocations: 5.156 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.8178, allocations: 1.094 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.8179, allocations: 49.06 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.8183, allocations: 494.5 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.805e-05/0.8184, allocations: 170.8 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.22e-05/0.8184, allocations: 85.11 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/0.8184, allocations: 75.28 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.8184, allocations: 111.5 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.8184, allocations: 0 / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.526e-05/0.8185, allocations: 29.94 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.8185, allocations: 135.3 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.8187, allocations: 177.5 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-06/0.8187, allocations: 25.7 kB / 1.09 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.8188, allocations: 97.97 kB / 1.09 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.8188, allocations: 0 / 1.09 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.8188, allocations: 13.88 kB / 1.09 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.697e-05/0.8189, allocations: 322.8 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.8189, allocations: 5.906 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.8189, allocations: 10.8 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.819, allocations: 12.78 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.819, allocations: 1.188 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001135/0.8191, allocations: 52.48 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.8191, allocations: 6.078 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.8191, allocations: 4.094 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.8191, allocations: 0 / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.825e-05/0.8192, allocations: 11.56 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.8192, allocations: 1.703 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.8192, allocations: 3.281 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.8192, allocations: 2.859 kB / 1.091 GB, free: 2.297 MB / 0.8575 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 5.662e-05/0.8193, allocations: 193.8 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.8194, allocations: 113 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.8194, allocations: 118.7 kB / 1.091 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-05/0.8195, allocations: 188.8 kB / 1.091 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-05/0.8196, allocations: 177.9 kB / 1.092 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.648e-05/0.8196, allocations: 182 kB / 1.092 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.8199, allocations: 418.8 kB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/0.8199, allocations: 110.8 kB / 1.092 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.82, allocations: 107.5 kB / 1.092 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-05/0.82, allocations: 177.1 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.054e-05/0.8201, allocations: 182.4 kB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.644e-05/0.8202, allocations: 186 kB / 1.093 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.86e-05/0.8202, allocations: 182 kB / 1.093 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.8204, allocations: 307.5 kB / 1.093 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.8204, allocations: 191.4 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.8205, allocations: 177.9 kB / 1.094 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.8206, allocations: 119.1 kB / 1.094 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.8207, allocations: 186 kB / 1.094 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.8207, allocations: 102.7 kB / 1.094 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001129/0.8209, allocations: 134.2 kB / 1.094 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8209, allocations: 0 / 1.094 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003458/0.8212, allocations: 4.469 kB / 1.094 GB, free: 14.7 MB / 0.8731 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.0004022/0.8216, allocations: 0.8175 MB / 1.095 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.666e-05/0.8217, allocations: 8.203 kB / 1.095 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.8217, allocations: 4 kB / 1.095 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.8217, allocations: 0.9375 kB / 1.095 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.8222, allocations: 463 kB / 1.095 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.8237, allocations: 1.607 MB / 1.097 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.824, allocations: 0.6889 MB / 1.098 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.508e-05/0.8241, allocations: 7.062 kB / 1.098 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.8241, allocations: 19.67 kB / 1.098 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.8241, allocations: 3.938 kB / 1.098 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.566/2.391, allocations: 1.629 MB / 1.099 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/17.47, allocations: 10.95 kB / 1.099 GB, free: 10.92 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches