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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00131/0.00131, allocations: 103.4 kB / 15.33 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.0013/0.001299, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.25/1.25, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.394/2.394, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 68.34 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2496, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001815/0.2514, allocations: 0.7767 MB / 1.053 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.2523, allocations: 0.874 MB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.2523, allocations: 0 / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.2524, allocations: 0 / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.2524, allocations: 11.92 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.2526, allocations: 8 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.021e-05/0.2526, allocations: 55.84 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.158e-05/0.2527, allocations: 4 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.405e-05/0.2528, allocations: 23.91 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.198e-05/0.2529, allocations: 19.92 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2529, allocations: 4 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.2529, allocations: 7.938 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.2529, allocations: 7.984 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.2529, allocations: 19.88 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.737e-05/0.253, allocations: 43.86 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.253, allocations: 0 / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.253, allocations: 0 / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2531, allocations: 0 / 1.054 GB, free: 6.77 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.0004332/0.2535, allocations: 359.7 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2535, allocations: 8.625 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.2536, allocations: 34.75 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.2536, allocations: 8.844 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.2537, allocations: 176.3 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2537, allocations: 8.375 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.2537, allocations: 384 / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.2539, allocations: 66.22 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.254, allocations: 7.938 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.254, allocations: 0 / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.254, allocations: 0 / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.2542, allocations: 75.86 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.2546, allocations: 268.8 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.2548, allocations: 50.55 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.2549, allocations: 44.91 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.255, allocations: 4 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.2551, allocations: 34.5 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2551, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004821/0.2556, allocations: 129.6 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.2556, allocations: 51.41 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.2557, allocations: 109.8 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2557, allocations: 25.7 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.2558, allocations: 84.14 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.2558, allocations: 15.75 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.2558, allocations: 21.64 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2559, allocations: 318.8 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.2561, allocations: 27.97 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.2562, allocations: 35.89 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.2565, allocations: 76.72 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2565, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002811/0.2568, allocations: 93.62 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2568, allocations: 5.719 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2568, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2568, allocations: 4 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.2569, allocations: 19.98 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2569, allocations: 0 / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.239e-05/0.257, allocations: 15.97 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.257, allocations: 0 / 1.056 GB, free: 4.398 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 7.844e-05/0.2571, allocations: 117.7 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.2571, allocations: 3.906 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.2572, allocations: 11.91 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2572, allocations: 336 / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2572, allocations: 4 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2572, allocations: 0 / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.2574, allocations: 173.6 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2574, allocations: 3.984 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.2575, allocations: 15.98 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2575, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.2575, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2575, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2575, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.2579, allocations: 199.4 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.2579, allocations: 88.95 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2579, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.258, allocations: 11.98 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.2581, allocations: 7.922 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2581, allocations: 8 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.2581, allocations: 87.28 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2582, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002257/0.2584, allocations: 8 kB / 1.057 GB, free: 3.574 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.000661/0.2591, allocations: 0.7319 MB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000301/0.2594, allocations: 67.86 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2594, allocations: 4 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.2595, allocations: 47.89 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2599, allocations: 4 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.2603, allocations: 167 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.2607, allocations: 0.6807 MB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.2607, allocations: 4 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.2608, allocations: 15.44 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.2608, allocations: 0 / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.434/1.695, allocations: 1.462 MB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.695, allocations: 207.3 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/3.168, allocations: 0 / 1.06 GB, free: 172 kB / 0.8106 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