Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_latest_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.001246/0.001246, 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.001362/0.001362, allocations: 195 kB / 16.14 MB, free: 6.711 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.482/2.482, allocations: 461.9 MB / 0.7342 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 70.47 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2318, allocations: 157.4 MB / 1.052 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001556/0.2334, allocations: 0.7669 MB / 1.053 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.2342, allocations: 0.8741 MB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.2342, allocations: 4 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.2343, allocations: 3.984 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.413e-05/0.2343, allocations: 7.922 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.2345, allocations: 11.98 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.646e-05/0.2345, allocations: 39.86 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.2e-05/0.2346, allocations: 12 kB / 1.054 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.368e-05/0.2347, allocations: 19.92 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.2347, allocations: 19.91 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2347, allocations: 4 kB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.2347, allocations: 0 / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.2347, allocations: 8 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.2348, allocations: 19.84 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.034e-05/0.2348, allocations: 35.88 kB / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2349, allocations: 0 / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2349, allocations: 4 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.2349, allocations: 4 kB / 1.054 GB, free: 6.246 MB / 0.8106 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.0003928/0.2353, allocations: 355.7 kB / 1.054 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2353, allocations: 15.97 kB / 1.054 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.2353, allocations: 38.69 kB / 1.054 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.028e-05/0.2354, allocations: 4.844 kB / 1.054 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.234e-05/0.2355, allocations: 172.3 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.2355, allocations: 4.312 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.2355, allocations: 8.375 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.2357, allocations: 66.22 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.2357, allocations: 3.938 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2357, allocations: 0 / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2357, allocations: 4 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.236, allocations: 63.92 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.2363, allocations: 272.8 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.2364, allocations: 58.47 kB / 1.055 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2366, allocations: 44.86 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.2366, allocations: 0 / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.2366, allocations: 34.56 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.2366, allocations: 0 / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004744/0.2371, allocations: 129.8 kB / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.2371, allocations: 55.34 kB / 1.055 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.102e-05/0.2372, allocations: 105.8 kB / 1.055 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.2372, allocations: 25.7 kB / 1.055 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.2373, allocations: 92.12 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.2373, allocations: 11.8 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.2373, allocations: 17.72 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.2374, allocations: 310.8 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.2375, allocations: 39.95 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.2377, allocations: 31.95 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.2379, allocations: 72.72 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2379, allocations: 4 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002752/0.2382, allocations: 97.56 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.2382, allocations: 4 kB / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2382, allocations: 0 / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.2382, allocations: 0 / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2383, allocations: 23.97 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2383, allocations: 4 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.2384, allocations: 11.98 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.2384, allocations: 0 / 1.056 GB, free: 3.871 MB / 0.8106 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.555e-05/0.2385, allocations: 113.8 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.2385, allocations: 3.906 kB / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.2385, allocations: 7.906 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.2386, allocations: 0 / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2386, allocations: 8 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2386, allocations: 0 / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.2387, allocations: 181.5 kB / 1.056 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2387, allocations: 0 / 1.056 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.2388, allocations: 11.98 kB / 1.056 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.2388, allocations: 0 / 1.056 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2388, allocations: 4 kB / 1.056 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2388, allocations: 0 / 1.056 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2388, allocations: 4.25 kB / 1.056 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.2391, allocations: 203.3 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.2392, allocations: 84.95 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.2392, allocations: 4 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.2393, allocations: 7.984 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.2393, allocations: 7.984 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.2393, allocations: 0 / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.2394, allocations: 99.25 kB / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2394, allocations: 0 / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001952/0.2396, allocations: 4 kB / 1.057 GB, free: 3.043 MB / 0.8106 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.0005224/0.2401, allocations: 0.7319 MB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.2404, allocations: 67.92 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.2404, allocations: 0 / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.2405, allocations: 35.97 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.2408, allocations: 10.14 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.2411, allocations: 168.8 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.2413, allocations: 0.6808 MB / 1.058 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.927e-05/0.2413, allocations: 11.98 kB / 1.058 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.2414, allocations: 11.44 kB / 1.058 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of SimCode: time 1.252e-06/0.2414, allocations: 0 / 1.058 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.357/1.599, allocations: 1.413 MB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/1.599, allocations: 207.6 kB / 1.06 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/4.106, allocations: 0 / 1.06 GB, free: 15.68 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches