Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Modulo,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",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.001226/0.001226, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001283/0.001283, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.359/2.359, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 0.8689 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6242/0.6254, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001896/0.6274, allocations: 0.7688 MB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000842/0.6282, allocations: 0.8624 MB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.6283, allocations: 4 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.6283, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.6284, allocations: 7.922 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.6285, allocations: 19.98 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.6286, allocations: 47.78 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.446e-05/0.6286, allocations: 12 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.6287, allocations: 15.98 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.124e-05/0.6287, allocations: 23.86 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.6287, allocations: 4 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-06/0.6288, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.6288, allocations: 11.92 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.6288, allocations: 15.92 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.864e-05/0.6289, allocations: 43.81 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.6289, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6289, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.6289, allocations: 0 / 1.019 GB, free: 0.832 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004259/0.6293, allocations: 369.5 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.6294, allocations: 12.03 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.6294, allocations: 30.75 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.938e-05/0.6294, allocations: 0.9375 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.42e-05/0.6295, allocations: 172.3 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.6296, allocations: 4.375 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-06/0.6296, allocations: 8.312 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.6298, allocations: 70.22 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.6298, allocations: 3.938 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.6298, allocations: 0 / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.6298, allocations: 4 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.6301, allocations: 59.92 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.6304, allocations: 268.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.6306, allocations: 58.47 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.6307, allocations: 40.91 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.6308, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.6308, allocations: 38.56 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.6308, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004683/0.6313, allocations: 129.5 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.6313, allocations: 59.34 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.6314, allocations: 109.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.6314, allocations: 25.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.6315, allocations: 88.14 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.6315, allocations: 7.844 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.6315, allocations: 17.72 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.6316, allocations: 314.8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.6317, allocations: 35.97 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.6319, allocations: 31.95 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.6321, allocations: 72.72 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6321, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002875/0.6324, allocations: 109.4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.6324, allocations: 5.094 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6324, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/0.6325, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.6326, allocations: 15.98 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.6326, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.6327, allocations: 19.92 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.6327, allocations: 3.984 kB / 1.021 GB, free: 14.45 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 (3): * Single equations (assignments): 3 * 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.935e-05/0.6327, allocations: 114.3 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.6328, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.6328, allocations: 7.906 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.6328, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6328, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.6328, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.633, allocations: 173.5 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.633, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.146e-05/0.6331, allocations: 15.98 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.6331, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.6331, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6331, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6331, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.6334, allocations: 199.3 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.6335, allocations: 77.48 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.6335, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.6336, allocations: 11.98 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.6336, allocations: 7.984 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.6336, allocations: 3.984 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.6337, allocations: 87.28 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6337, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00021/0.6339, allocations: 4 kB / 1.022 GB, free: 13.64 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 (3): * Single equations (assignments): 3 * 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.0005831/0.6345, allocations: 0.7396 MB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.6348, allocations: 67.92 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6348, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.6349, allocations: 39.95 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.6352, allocations: 12 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.6356, allocations: 171.1 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.6358, allocations: 0.6768 MB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.686e-05/0.6358, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.6359, allocations: 11.44 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6359, allocations: 8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.6524, allocations: 1.459 MB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/0.6526, allocations: 198.1 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.326, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches