Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001402/0.001402, 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.001429/0.001429, 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.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.317/2.317, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 71.89 kB / 1.059 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2495, allocations: 160.7 MB / 1.216 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001542/0.251, allocations: 0.567 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 2.789e-05/0.2511, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.2511, allocations: 4 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.2511, allocations: 3.938 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.286e-05/0.2511, allocations: 4 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.699e-05/0.2512, allocations: 4 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.23e-05/0.2512, allocations: 0 / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.2512, allocations: 0 / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.051e-05/0.2513, allocations: 0 / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.447e-05/0.2513, allocations: 4 kB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.757e-06/0.2513, allocations: 3.938 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-06/0.2513, allocations: 0 / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.2513, allocations: 0 / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.2513, allocations: 4 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 4.943e-05/0.2514, allocations: 7.969 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2514, allocations: 0 / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.916e-06/0.2514, allocations: 4 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2514, allocations: 0 / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002881/0.2517, allocations: 315.7 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2517, allocations: 12.06 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.2517, allocations: 34.73 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.499e-05/0.2517, allocations: 0.9375 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2519, allocations: 164.4 kB / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.2519, allocations: 4.312 kB / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-06/0.2519, allocations: 384 / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.725e-05/0.2519, allocations: 30.27 kB / 1.217 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.2519, allocations: 3.938 kB / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-06/0.2519, allocations: 0 / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2519, allocations: 0 / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.252, allocations: 11.94 kB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.2522, allocations: 383.5 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.553e-05/0.2523, allocations: 177 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.2524, allocations: 80.14 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.2524, allocations: 75.28 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.2524, allocations: 109.8 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2524, allocations: 0 / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.244e-05/0.2525, allocations: 37.61 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.2526, allocations: 130.7 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.2526, allocations: 93.86 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2527, allocations: 25.7 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.2527, allocations: 84.14 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-06/0.2527, allocations: 0 / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.2527, allocations: 13.84 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2528, allocations: 310.8 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-06/0.2528, allocations: 0 / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-06/0.2528, allocations: 0 / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/0.2529, allocations: 79.27 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.849e-05/0.2529, allocations: 83.22 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.118e-05/0.253, allocations: 29.7 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.253, allocations: 84.84 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/0.253, allocations: 83.22 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.36e-05/0.2531, allocations: 150.6 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.016e-05/0.2531, allocations: 79.22 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.453e-05/0.2532, allocations: 151.6 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.2532, allocations: 79.28 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.2533, allocations: 83.2 kB / 1.219 GB, free: 12.15 MB / 0.9669 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 (0): * Single equations (assignments): 0 * 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 0.0001132/0.2534, allocations: 268.3 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.2534, allocations: 105 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.165e-05/0.2535, allocations: 108 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.876e-05/0.2536, allocations: 180.3 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.285e-05/0.2536, allocations: 188.2 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.309e-05/0.2537, allocations: 184.3 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.2539, allocations: 401.4 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.425e-05/0.254, allocations: 108.9 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.254, allocations: 105 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.185e-05/0.2541, allocations: 188.2 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/0.2542, allocations: 180.3 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.471e-05/0.2542, allocations: 180.3 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-05/0.2543, allocations: 188.2 kB / 1.221 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.2544, allocations: 303.7 kB / 1.222 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.2545, allocations: 182.1 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.62e-05/0.2546, allocations: 184.2 kB / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.2547, allocations: 108.9 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.2547, allocations: 180.3 kB / 1.222 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.2548, allocations: 108.9 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.2548, allocations: 79.28 kB / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.2548, allocations: 0 / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002262/0.255, allocations: 8.094 kB / 1.222 GB, free: 8.461 MB / 0.9669 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 (0): * Single equations (assignments): 0 * 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.0004249/0.2555, allocations: 0.8087 MB / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 3.925e-05/0.2555, allocations: 3.938 kB / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2555, allocations: 0 / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.2555, allocations: 4 kB / 1.223 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.2559, allocations: 455.7 kB / 1.224 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.2569, allocations: 1.524 MB / 1.225 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.2572, allocations: 0.6768 MB / 1.226 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.811e-06/0.2572, allocations: 0 / 1.226 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.2572, allocations: 11.53 kB / 1.226 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.2572, allocations: 0 / 1.226 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.2788, allocations: 0.8884 MB / 1.227 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/7.234, allocations: 6.594 kB / 1.227 GB, free: 4.035 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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: 12.382815304998076]