Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 103.6 kB / 18.95 MB, free: 2.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00245/0.00245, allocations: 222.4 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.603/1.603, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.272/3.272, allocations: 0.49 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 73.58 kB / 1.154 GB, free: 25.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.345, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001848/0.3468, allocations: 0.6897 MB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3479, allocations: 0.8982 MB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.3479, allocations: 4 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.348, allocations: 3.938 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.348, allocations: 3.938 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.3482, allocations: 23.97 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.371e-05/0.3483, allocations: 43.8 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.3484, allocations: 11.98 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.3484, allocations: 23.92 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.495e-05/0.3485, allocations: 19.91 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3485, allocations: 8 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.3485, allocations: 7.938 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.3485, allocations: 4 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.3486, allocations: 15.92 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.526e-05/0.3487, allocations: 48.03 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3487, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3487, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.3487, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 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.000496/0.3492, allocations: 286.2 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3492, allocations: 12.03 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.3492, allocations: 30.75 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.3493, allocations: 8.938 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3494, allocations: 130.3 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.3494, allocations: 384 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3494, allocations: 384 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3496, allocations: 70.22 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3497, allocations: 3.938 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.3497, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3497, allocations: 4 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.3499, allocations: 63.92 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.3503, allocations: 236 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.3505, allocations: 54.53 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3506, allocations: 36.92 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3507, allocations: 7.984 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3507, allocations: 30.56 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3507, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005381/0.3512, allocations: 129.5 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3513, allocations: 55.41 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.3514, allocations: 113.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3514, allocations: 25.7 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.3514, allocations: 92.12 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.3515, allocations: 3.953 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.3515, allocations: 13.72 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3516, allocations: 318.8 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3518, allocations: 27.97 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3519, allocations: 35.97 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.3522, allocations: 72.72 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3522, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003232/0.3525, allocations: 105.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3525, allocations: 8 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3526, allocations: 3.984 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3526, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3527, allocations: 15.98 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3527, allocations: 3.938 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.3528, allocations: 11.98 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3528, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 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 9.13e-05/0.3529, allocations: 116.1 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.3529, allocations: 11.95 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.3529, allocations: 7.984 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3529, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3529, allocations: 4.328 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3529, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.3531, allocations: 140.6 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3531, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.687e-05/0.3532, allocations: 11.98 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.3532, allocations: 7.984 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3532, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3532, allocations: 7.984 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3532, allocations: 3.938 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.3536, allocations: 191.4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.3536, allocations: 7.953 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.3536, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3538, allocations: 15.97 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.3538, allocations: 4 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3538, allocations: 8 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.627e-05/0.3539, allocations: 87.56 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3539, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002282/0.3541, allocations: 12 kB / 1.33 GB, free: 12.75 MB / 1.029 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.0007962/0.3549, allocations: 0.724 MB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.3552, allocations: 71.92 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3553, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.3554, allocations: 31.97 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.3557, allocations: 13.7 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.3562, allocations: 158.8 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.511e-05/0.3563, allocations: 67.33 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.3563, allocations: 8 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.3564, allocations: 11.44 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3564, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.3897, allocations: 2.267 MB / 1.333 GB, free: 9.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 24 kB / 1.333 GB, free: 9.445 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable mod1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv. Warning: Get data of variable mod1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv failed! Error: Could not read variable mod1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv. Warning: Get data of variable mod1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.836451587005286]