Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Validation.MultiMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001395/0.001395, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00109/0.00109, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.364/2.364, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6185/0.6199, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001787/0.6217, allocations: 0.7201 MB / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001086/0.6218, allocations: 11.92 kB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.6219, allocations: 0 / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.547e-05/0.622, allocations: 4 kB / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.27e-05/0.622, allocations: 3.938 kB / 1.017 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.554e-05/0.6221, allocations: 4 kB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.444e-05/0.6222, allocations: 23.98 kB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.6223, allocations: 31.98 kB / 1.018 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.31e-05/0.6223, allocations: 11.94 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.703e-05/0.6223, allocations: 15.92 kB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.6224, allocations: 4 kB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.6224, allocations: 3.938 kB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.6224, allocations: 4 kB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.6225, allocations: 27.84 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.277e-05/0.6225, allocations: 43.81 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6225, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.41e-07/0.6225, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.6225, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.7637 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.0002953/0.6228, allocations: 359.5 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.6229, allocations: 8.031 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.6229, allocations: 42.73 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.623, allocations: 8.844 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.6231, allocations: 172.3 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-06/0.6231, allocations: 4.375 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.6231, allocations: 8.359 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.6233, allocations: 78.17 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.6233, allocations: 7.922 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.6233, allocations: 7.938 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.6233, allocations: 4 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.6234, allocations: 51.91 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.6238, allocations: 483 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.869e-05/0.6239, allocations: 173.1 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.6239, allocations: 84.14 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.624, allocations: 75.28 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.624, allocations: 105.8 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.624, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 6.888e-05/0.6241, allocations: 41.53 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.6241, allocations: 130.6 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.6243, allocations: 171.7 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.6243, allocations: 29.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.6244, allocations: 108 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.6244, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.6244, allocations: 9.719 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.6245, allocations: 318.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.6245, allocations: 7.984 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.338e-05/0.6246, allocations: 8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.236e-05/0.6246, allocations: 16.91 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6246, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001055/0.6247, allocations: 57.53 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.6247, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.6247, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.6248, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.019e-05/0.6248, allocations: 7.922 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6248, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.6249, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.6249, allocations: 4.109 kB / 1.02 GB, free: 15.12 MB / 0.7794 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 8.876e-05/0.625, allocations: 201.6 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.625, allocations: 108.9 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.6251, allocations: 116.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.185e-05/0.6251, allocations: 188.2 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.201e-05/0.6252, allocations: 184.2 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-05/0.6253, allocations: 184.3 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.6255, allocations: 417.2 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-05/0.6255, allocations: 104.9 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.6255, allocations: 101 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.265e-05/0.6256, allocations: 184.2 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.6256, allocations: 184.3 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.443e-05/0.6257, allocations: 184.2 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.874e-05/0.6258, allocations: 180.2 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.6259, allocations: 307.8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.626, allocations: 190 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.626, allocations: 180.3 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.675e-05/0.6261, allocations: 112.8 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.6262, allocations: 180.3 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.6262, allocations: 104.9 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.834e-05/0.6263, allocations: 133.7 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6263, allocations: 0 / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002051/0.6265, allocations: 4 kB / 1.023 GB, free: 11.42 MB / 0.7794 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.0003469/0.6269, allocations: 0.8168 MB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.632e-05/0.6269, allocations: 15.94 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6269, allocations: 3.938 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.6269, allocations: 8.078 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.6273, allocations: 0.5224 MB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.6285, allocations: 1.608 MB / 1.026 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.6288, allocations: 0.6981 MB / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.402e-05/0.6288, allocations: 7.984 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.6288, allocations: 15.44 kB / 1.027 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6288, allocations: 3.938 kB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01005/0.6389, allocations: 1.472 MB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.6391, allocations: 202.4 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.174, allocations: 0 / 1.029 GB, free: 5.949 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches