Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.514/2.514, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.91 kB / 1.107 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7356/0.7374, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001545/0.7389, allocations: 0.7098 MB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006907/0.7396, allocations: 0.8746 MB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.7397, allocations: 0.8125 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.7397, allocations: 5.016 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.7397, allocations: 9.312 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.7399, allocations: 17.17 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.03e-05/0.7399, allocations: 47.61 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.74, allocations: 12.25 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.7401, allocations: 13.34 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.7401, allocations: 23 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.7401, allocations: 4.094 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.7401, allocations: 3.188 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.7401, allocations: 10.58 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.7402, allocations: 14.36 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.879e-05/0.7403, allocations: 49.95 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.7403, allocations: 0.875 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7403, allocations: 0 / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.7403, allocations: 0 / 1.273 GB, free: 6.512 MB / 0.9981 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.0003737/0.7406, allocations: 364.3 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.7407, allocations: 10.38 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.944e-05/0.7407, allocations: 40 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.7407, allocations: 7.266 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.768e-05/0.7408, allocations: 167.9 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.7408, allocations: 1.938 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.7408, allocations: 6.328 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.741, allocations: 65.25 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.741, allocations: 4.781 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.741, allocations: 4 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.741, allocations: 4.641 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.7413, allocations: 66.61 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.7415, allocations: 274 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.7417, allocations: 54.77 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.7418, allocations: 42.41 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.7419, allocations: 0 / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.7419, allocations: 31.81 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.7419, allocations: 0 / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000482/0.7424, allocations: 134.2 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.7424, allocations: 52.38 kB / 1.274 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.501e-05/0.7424, allocations: 111.2 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.7424, allocations: 30.58 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.955e-05/0.7424, allocations: 89.62 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.7425, allocations: 9.391 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.7425, allocations: 14.47 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.053e-05/0.7425, allocations: 322.8 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.7427, allocations: 30.17 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.7428, allocations: 31.06 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.743, allocations: 73.47 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.743, allocations: 4.938 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000282/0.7433, allocations: 98.34 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.7433, allocations: 6.031 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.7433, allocations: 0 / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.7433, allocations: 1.688 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.7434, allocations: 14.89 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.7434, allocations: 4.969 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.7435, allocations: 16.38 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.7435, allocations: 0.7188 kB / 1.275 GB, free: 4.68 MB / 0.9981 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 3.645e-05/0.7436, allocations: 115.3 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.7436, allocations: 2.734 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.7436, allocations: 8.906 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.7436, allocations: 0.6875 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.7436, allocations: 4.938 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.7436, allocations: 0 / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.7437, allocations: 174.4 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.7437, allocations: 0 / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.7438, allocations: 21.02 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.7438, allocations: 0.9688 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.7438, allocations: 0.875 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7438, allocations: 0 / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.7438, allocations: 1 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.7441, allocations: 200.3 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.7441, allocations: 82.48 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.7442, allocations: 3.297 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.7443, allocations: 9.547 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.7443, allocations: 8.547 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.7443, allocations: 9.094 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.318e-05/0.7443, allocations: 83.88 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7443, allocations: 0.75 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002014/0.7445, allocations: 9.938 kB / 1.276 GB, free: 3.996 MB / 0.9981 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.0004635/0.745, allocations: 0.7366 MB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.7453, allocations: 66.27 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.7453, allocations: 0 / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.7454, allocations: 42.61 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.7457, allocations: 11.97 kB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.746, allocations: 167.1 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.01e-05/0.7461, allocations: 0.6815 MB / 1.278 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.7461, allocations: 1.812 kB / 1.278 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.7461, allocations: 19.3 kB / 1.278 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.7461, allocations: 0 / 1.278 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.7684, allocations: 1.658 MB / 1.279 GB, free: 18.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.89, allocations: 7.719 kB / 1.279 GB, free: 18.04 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv. Warning: Get data of variable mod1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv failed! Error: Could not read variable mod1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv. Warning: Get data of variable mod1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.286305783003627]