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.001274/0.001274, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001464/0.001464, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9019/0.9019, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.701/1.701, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.513e-05, allocations: 2.281 kB / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001139/0.001154, allocations: 0.6949 MB / 0.9817 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007636/0.001917, allocations: 0.89 MB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.00195, allocations: 0 / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.001979, allocations: 3.938 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.002037, allocations: 11.92 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.00221, allocations: 27.84 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.00229, allocations: 39.86 kB / 0.9827 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.002386, allocations: 11.98 kB / 0.9827 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.407e-05/0.00246, allocations: 19.98 kB / 0.9827 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.927e-05/0.002499, allocations: 15.92 kB / 0.9827 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.002522, allocations: 11.98 kB / 0.9827 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.674e-06/0.002529, allocations: 4 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.002546, allocations: 7.984 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.002567, allocations: 11.94 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.201e-05/0.002649, allocations: 39.92 kB / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002651, allocations: 0 / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.02e-07/0.002652, allocations: 4 kB / 0.9828 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.002656, allocations: 0 / 0.9828 GB, free: 0.7266 MB / 0.9323 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.0003553/0.003011, allocations: 286.2 kB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.003047, allocations: 12.03 kB / 0.9831 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.003076, allocations: 38.69 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.13e-05/0.003098, allocations: 8.891 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8e-05/0.003178, allocations: 113.8 kB / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.003187, allocations: 384 / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.003198, allocations: 4.375 kB / 0.9832 GB, free: 212 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.003359, allocations: 70.22 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.003365, allocations: 192 / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.003373, allocations: 4.312 kB / 0.9833 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.003378, allocations: 8.125 kB / 0.9833 GB, free: 124 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.003518, allocations: 63.92 kB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.00382, allocations: 232 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.003939, allocations: 54.53 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.004014, allocations: 40.91 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.004034, allocations: 7.938 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.004052, allocations: 30.56 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.004053, allocations: 0 / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003123/0.004365, allocations: 129.5 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.004397, allocations: 59.41 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.091e-05/0.004458, allocations: 113.8 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.004468, allocations: 25.7 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.004504, allocations: 92.12 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.004522, allocations: 11.84 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.004547, allocations: 13.72 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.00462, allocations: 318.8 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.004691, allocations: 27.97 kB / 0.9845 GB, free: 14.81 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.004757, allocations: 35.97 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.004892, allocations: 73.05 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004893, allocations: 0 / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001612/0.005054, allocations: 105.5 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.00507, allocations: 10.95 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.005075, allocations: 0 / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.005085, allocations: 0 / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.005163, allocations: 15.98 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.005167, allocations: 0 / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.005205, allocations: 15.94 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.005211, allocations: 0 / 0.9847 GB, free: 14.55 MB / 0.948 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.179e-05/0.005263, allocations: 113.8 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.005276, allocations: 7.938 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.005298, allocations: 7.984 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.0053, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.005303, allocations: 4 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005306, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.00541, allocations: 132.8 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005411, allocations: 3.938 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.00545, allocations: 19.86 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005452, allocations: 4 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.005459, allocations: 3.984 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00546, allocations: 4.312 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.005461, allocations: 4 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.005644, allocations: 191.4 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.005652, allocations: 7.938 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.005662, allocations: 0 / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.077e-05/0.005713, allocations: 15.97 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.005746, allocations: 4 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.005749, allocations: 4 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.039e-05/0.005779, allocations: 91.25 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005779, allocations: 0 / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000145/0.005925, allocations: 8 kB / 0.9853 GB, free: 13.87 MB / 0.948 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.000363/0.006287, allocations: 0.7318 MB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.006468, allocations: 71.92 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.00647, allocations: 0 / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-05/0.006544, allocations: 35.91 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.006749, allocations: 15.92 kB / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.007091, allocations: 150.5 kB / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.585e-05/0.007137, allocations: 71.27 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.007156, allocations: 4 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.007195, allocations: 12.5 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.007196, allocations: 0 / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.0223, allocations: 2.377 MB / 0.9887 GB, free: 10.46 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.711/6.733, allocations: 14.09 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.845653160475194]