Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008875/0.0008875, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.001523/0.001523, allocations: 207.8 kB / 23.02 MB, free: 2.961 MB / 13.93 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.9904/0.9904, allocations: 230.6 MB / 256.8 MB, free: 9.57 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.925/1.925, allocations: 0.5045 GB / 0.8104 GB, free: 2.727 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009793/0.0009793, allocations: 72.7 kB / 1.177 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.324, allocations: 180 MB / 1.353 GB, free: 9.082 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001426/0.3254, allocations: 0.6891 MB / 1.353 GB, free: 8.391 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0007756/0.3262, allocations: 0.8943 MB / 1.354 GB, free: 7.484 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.3262, allocations: 0 / 1.354 GB, free: 7.484 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.3263, allocations: 7.875 kB / 1.354 GB, free: 7.477 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.238e-05/0.3263, allocations: 7.938 kB / 1.354 GB, free: 7.469 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.3265, allocations: 19.92 kB / 1.354 GB, free: 7.449 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.3266, allocations: 47.84 kB / 1.354 GB, free: 7.402 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3267, allocations: 4 kB / 1.354 GB, free: 7.398 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.9e-05/0.3267, allocations: 19.97 kB / 1.354 GB, free: 7.379 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.958e-05/0.3268, allocations: 19.92 kB / 1.354 GB, free: 7.359 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3268, allocations: 8 kB / 1.354 GB, free: 7.352 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.3268, allocations: 0 / 1.354 GB, free: 7.352 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.3268, allocations: 15.92 kB / 1.354 GB, free: 7.336 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.3268, allocations: 11.94 kB / 1.354 GB, free: 7.324 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 8.317e-05/0.3269, allocations: 40.09 kB / 1.354 GB, free: 7.285 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3269, allocations: 0 / 1.354 GB, free: 7.285 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3269, allocations: 0 / 1.354 GB, free: 7.285 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3269, allocations: 0 / 1.354 GB, free: 7.285 MB / 1.042 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.0003581/0.3273, allocations: 290.2 kB / 1.355 GB, free: 6.969 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3273, allocations: 12.92 kB / 1.355 GB, free: 6.957 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.3273, allocations: 34.75 kB / 1.355 GB, free: 6.914 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.074e-05/0.3274, allocations: 4.891 kB / 1.355 GB, free: 6.91 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.445e-05/0.3274, allocations: 114.5 kB / 1.355 GB, free: 6.773 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3275, allocations: 384 / 1.355 GB, free: 6.773 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.3275, allocations: 8.312 kB / 1.355 GB, free: 6.766 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3276, allocations: 70.2 kB / 1.355 GB, free: 6.691 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3276, allocations: 7.922 kB / 1.355 GB, free: 6.684 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.3276, allocations: 0 / 1.355 GB, free: 6.684 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3276, allocations: 8 kB / 1.355 GB, free: 6.676 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.3278, allocations: 63.86 kB / 1.355 GB, free: 6.613 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.3281, allocations: 236 kB / 1.355 GB, free: 6.34 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3282, allocations: 50.53 kB / 1.355 GB, free: 6.281 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.3282, allocations: 40.92 kB / 1.355 GB, free: 6.238 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3283, allocations: 0 / 1.355 GB, free: 6.238 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.3283, allocations: 38.56 kB / 1.355 GB, free: 6.191 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.3283, allocations: 0 / 1.355 GB, free: 6.191 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0002926/0.3286, allocations: 129.5 kB / 1.355 GB, free: 6.059 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.3286, allocations: 55.41 kB / 1.355 GB, free: 5.992 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.3287, allocations: 105.8 kB / 1.355 GB, free: 5.879 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.3287, allocations: 29.7 kB / 1.355 GB, free: 5.844 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.3287, allocations: 88.09 kB / 1.356 GB, free: 5.754 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.3287, allocations: 7.938 kB / 1.356 GB, free: 5.746 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.3288, allocations: 17.72 kB / 1.356 GB, free: 5.723 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.3288, allocations: 314.8 kB / 1.356 GB, free: 5.406 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.3289, allocations: 31.95 kB / 1.356 GB, free: 5.375 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.329, allocations: 35.91 kB / 1.356 GB, free: 5.34 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3291, allocations: 76.66 kB / 1.356 GB, free: 5.262 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3291, allocations: 0 / 1.356 GB, free: 5.262 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001514/0.3292, allocations: 97.62 kB / 1.356 GB, free: 5.16 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3293, allocations: 6.188 kB / 1.356 GB, free: 5.156 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3293, allocations: 0 / 1.356 GB, free: 5.156 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3293, allocations: 4 kB / 1.356 GB, free: 5.152 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.3294, allocations: 15.97 kB / 1.356 GB, free: 5.137 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3294, allocations: 0 / 1.356 GB, free: 5.137 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.3294, allocations: 15.94 kB / 1.356 GB, free: 5.121 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3294, allocations: 4.312 kB / 1.356 GB, free: 5.117 MB / 1.042 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.285e-05/0.3295, allocations: 114.3 kB / 1.356 GB, free: 4.996 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.3295, allocations: 4 kB / 1.356 GB, free: 4.992 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.3295, allocations: 12 kB / 1.356 GB, free: 4.977 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3295, allocations: 0 / 1.356 GB, free: 4.977 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3295, allocations: 3.938 kB / 1.356 GB, free: 4.973 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3295, allocations: 3.938 kB / 1.356 GB, free: 4.969 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.3296, allocations: 140.7 kB / 1.356 GB, free: 4.789 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.3296, allocations: 0 / 1.356 GB, free: 4.789 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.3297, allocations: 15.98 kB / 1.356 GB, free: 4.773 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3297, allocations: 0 / 1.356 GB, free: 4.773 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.3297, allocations: 0 / 1.356 GB, free: 4.773 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.3297, allocations: 4 kB / 1.356 GB, free: 4.77 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3297, allocations: 336 / 1.356 GB, free: 4.77 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3298, allocations: 207.3 kB / 1.357 GB, free: 4.551 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.3299, allocations: 3.938 kB / 1.357 GB, free: 4.547 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.3299, allocations: 4 kB / 1.357 GB, free: 4.543 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.995e-05/0.3299, allocations: 7.984 kB / 1.357 GB, free: 4.535 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.33, allocations: 15.98 kB / 1.357 GB, free: 4.52 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.33, allocations: 0 / 1.357 GB, free: 4.52 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.33, allocations: 91.27 kB / 1.357 GB, free: 4.43 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.33, allocations: 0 / 1.357 GB, free: 4.43 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001436/0.3301, allocations: 7.938 kB / 1.357 GB, free: 4.422 MB / 1.042 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.0003604/0.3305, allocations: 0.728 MB / 1.357 GB, free: 3.668 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.3307, allocations: 67.92 kB / 1.358 GB, free: 3.602 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.3307, allocations: 0 / 1.358 GB, free: 3.602 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.165e-05/0.3307, allocations: 43.89 kB / 1.358 GB, free: 3.559 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.331, allocations: 3.938 kB / 1.358 GB, free: 3.555 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.3313, allocations: 163.2 kB / 1.358 GB, free: 3.355 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/0.3313, allocations: 63.34 kB / 1.358 GB, free: 3.273 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.3314, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.3314, allocations: 23.42 kB / 1.358 GB, free: 3.25 MB / 1.042 GB Notification: Performance of SimCode: time 4.6e-07/0.3314, allocations: 0 / 1.358 GB, free: 3.25 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07424/0.4056, allocations: 2.243 MB / 1.36 GB, free: 1.145 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.102/7.508, allocations: 4 kB / 1.36 GB, free: 1.141 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.817678574472666]