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.00124/0.00124, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.304/2.304, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.91 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5226/0.5238, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001682/0.5256, allocations: 0.6982 MB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007777/0.5263, allocations: 0.8741 MB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.5264, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.5264, allocations: 3.938 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.896e-05/0.5265, allocations: 7.922 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.5266, allocations: 23.97 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.5267, allocations: 47.8 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.091e-05/0.5268, allocations: 12 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.5268, allocations: 11.98 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.332e-05/0.5269, allocations: 27.84 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.5269, allocations: 4 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.5269, allocations: 4 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.5269, allocations: 11.98 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.527, allocations: 11.92 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.791e-05/0.527, allocations: 43.81 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.527, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5271, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.5271, allocations: 4 kB / 1.019 GB, free: 0.7148 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.000433/0.5275, allocations: 361.5 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.5275, allocations: 12.03 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.5276, allocations: 38.67 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.5276, allocations: 4.938 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.105e-05/0.5277, allocations: 168.3 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.5277, allocations: 8.312 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.5277, allocations: 4.375 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.528, allocations: 66.3 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.528, allocations: 3.938 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.528, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.528, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.5283, allocations: 63.92 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.5286, allocations: 264.9 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.5287, allocations: 62.47 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.5289, allocations: 36.92 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.5289, allocations: 3.906 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.5289, allocations: 34.56 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5289, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004948/0.5294, allocations: 141.4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.5295, allocations: 51.41 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.5296, allocations: 109.8 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.5296, allocations: 29.7 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.5296, allocations: 84.14 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.5296, allocations: 11.83 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.5297, allocations: 13.72 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.5298, allocations: 318.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5299, allocations: 35.95 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.53, allocations: 27.97 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.5303, allocations: 76.72 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.5303, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002949/0.5306, allocations: 105.4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.5306, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5306, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.5306, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.5308, allocations: 23.97 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.5308, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.5308, allocations: 11.98 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.5309, allocations: 0 / 1.021 GB, free: 14.34 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 6.273e-05/0.5309, allocations: 117.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.531, allocations: 336 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.531, allocations: 7.906 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.531, allocations: 7.984 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.531, allocations: 7.984 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.531, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.5312, allocations: 173.4 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5312, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.355e-05/0.5313, allocations: 11.98 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5313, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.5313, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5313, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5313, allocations: 3.984 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.5316, allocations: 195.4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.5317, allocations: 77.11 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.5317, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.5318, allocations: 11.98 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.5318, allocations: 11.98 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.5318, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.5319, allocations: 91.27 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5319, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002007/0.5321, allocations: 4 kB / 1.022 GB, free: 13.52 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.0005844/0.5327, allocations: 0.7396 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003001/0.533, allocations: 67.92 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.533, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.5331, allocations: 39.97 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.5334, allocations: 9.562 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.5338, allocations: 160.8 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.534, allocations: 0.6807 MB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.534, allocations: 7.984 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.5341, allocations: 15.44 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5341, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.592/3.126, allocations: 1.629 MB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/11.02, allocations: 14.73 kB / 1.025 GB, free: 10.15 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