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.0008378/0.0008378, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.001008/0.001008, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9146/0.9146, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.768/1.768, allocations: 377.9 MB / 0.6221 GB, free: 8.648 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 2.154e-06/2.154e-06, allocations: 0 / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.102e-05, allocations: 2.281 kB / 0.981 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001395/0.001416, allocations: 0.695 MB / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000911/0.002327, allocations: 0.8938 MB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.002361, allocations: 0 / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.002393, allocations: 3.938 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-05/0.002455, allocations: 7.922 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.002619, allocations: 27.91 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.00269, allocations: 43.86 kB / 0.9827 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.002783, allocations: 4 kB / 0.9827 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.002861, allocations: 27.91 kB / 0.9827 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.652e-05/0.002898, allocations: 15.97 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.002919, allocations: 4 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.002927, allocations: 8 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.002944, allocations: 11.92 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.002965, allocations: 8 kB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.1e-05/0.003046, allocations: 43.86 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003048, allocations: 0 / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003049, allocations: 3.938 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003053, allocations: 0 / 0.9828 GB, free: 0.6992 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.0003716/0.003424, allocations: 286.2 kB / 0.9831 GB, free: 396 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.003467, allocations: 12.03 kB / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.003497, allocations: 34.75 kB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.00352, allocations: 4.891 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.907e-05/0.003599, allocations: 113.8 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.003612, allocations: 8.375 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.003622, allocations: 4.375 kB / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.003788, allocations: 66.22 kB / 0.9833 GB, free: 112 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.003795, allocations: 4.188 kB / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.003804, allocations: 384 / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.00381, allocations: 4.125 kB / 0.9833 GB, free: 104 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.003949, allocations: 71.86 kB / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.004284, allocations: 224 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.004408, allocations: 58.53 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.004482, allocations: 36.92 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.004504, allocations: 3.938 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.004526, allocations: 42.48 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004527, allocations: 0 / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003045/0.004832, allocations: 121.8 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.004864, allocations: 59.34 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.576e-05/0.004929, allocations: 113.8 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004939, allocations: 25.7 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.004976, allocations: 96.02 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.004994, allocations: 7.953 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.005021, allocations: 13.72 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.0051, allocations: 314.8 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.005174, allocations: 31.95 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.005243, allocations: 39.95 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.005376, allocations: 68.72 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005378, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001604/0.005538, allocations: 97.56 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.00555, allocations: 12 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005555, allocations: 0 / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.005566, allocations: 0 / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.005645, allocations: 27.91 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.005651, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.005687, allocations: 11.94 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.005695, allocations: 4.312 kB / 0.9847 GB, free: 14.52 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.596e-05/0.005751, allocations: 109.8 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.005767, allocations: 7.938 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.005793, allocations: 15.98 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005795, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.005799, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005802, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.005908, allocations: 128.8 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.005909, allocations: 4 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.00595, allocations: 19.92 kB / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.005951, allocations: 0 / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.005958, allocations: 0 / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005959, allocations: 4 kB / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005961, allocations: 8 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.006149, allocations: 191.4 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.006158, allocations: 7.938 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.006171, allocations: 0 / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.00622, allocations: 11.98 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.006257, allocations: 11.92 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.006259, allocations: 4 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.006291, allocations: 95.25 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006291, allocations: 0 / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001381/0.006429, allocations: 4 kB / 0.9853 GB, free: 13.84 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.0003767/0.006806, allocations: 0.728 MB / 0.986 GB, free: 13.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.006985, allocations: 75.8 kB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.006987, allocations: 4 kB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/0.007056, allocations: 31.97 kB / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.007274, allocations: 7.078 kB / 0.9861 GB, free: 12.97 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.007609, allocations: 150.4 kB / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.042e-05/0.007649, allocations: 71.28 kB / 0.9863 GB, free: 12.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.007672, allocations: 7.922 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.007711, allocations: 16.5 kB / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.007711, allocations: 0 / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.02347, allocations: 2.379 MB / 0.9887 GB, free: 10.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.626/6.65, allocations: 4.656 kB / 0.9887 GB, free: 10.44 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.748034054413438]