Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.00151/0.00151, allocations: 109 kB / 17.54 MB, free: 4.766 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.00168/0.00168, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 179] 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.462/2.462, allocations: 476.7 MB / 0.7628 GB, free: 15.22 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.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.89 kB / 1.107 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8284/0.8303, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001705/0.832, allocations: 0.7584 MB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.8333, allocations: 1.154 MB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.8333, allocations: 0.7188 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.8334, allocations: 4.5 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.109e-05/0.8334, allocations: 15.56 kB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.8339, allocations: 139.8 kB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.8341, allocations: 114.2 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.8342, allocations: 10.28 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.746e-05/0.8343, allocations: 48.53 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.8344, allocations: 45.12 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.8344, allocations: 10.47 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7e-05/0.8345, allocations: 25.53 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.8345, allocations: 20.17 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.8345, allocations: 47.88 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.8347, allocations: 117.4 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.8347, allocations: 0.9688 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8347, allocations: 0 / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.8347, allocations: 0 / 1.274 GB, free: 6.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005176/0.8352, allocations: 413.5 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8353, allocations: 8.969 kB / 1.274 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.343e-05/0.8353, allocations: 39.2 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.8353, allocations: 6.375 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.8354, allocations: 167.8 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.8354, allocations: 3.844 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.8355, allocations: 11.22 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.8356, allocations: 75.28 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.8356, allocations: 3.938 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.8356, allocations: 2.031 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8357, allocations: 0.9688 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.8358, allocations: 45.78 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.8362, allocations: 333.5 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.8364, allocations: 61.2 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.8365, allocations: 34.97 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.8365, allocations: 1 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.8367, allocations: 82.8 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.8367, allocations: 0 / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004143/0.8371, allocations: 149.3 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.8371, allocations: 57.22 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.8372, allocations: 117.4 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.8372, allocations: 28.61 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.8372, allocations: 94.2 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.8373, allocations: 18.38 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.8373, allocations: 35.75 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.8374, allocations: 324.7 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.8375, allocations: 52.61 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.8377, allocations: 90.3 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.8379, allocations: 138.4 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8379, allocations: 0.9375 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004135/0.8383, allocations: 215.5 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.8384, allocations: 39.03 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8384, allocations: 5.875 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.8384, allocations: 1.688 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.452e-05/0.8385, allocations: 15.89 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.8385, allocations: 1.875 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.8387, allocations: 33.45 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.8387, allocations: 8.703 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 6.545e-05/0.8388, allocations: 133.8 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.8388, allocations: 10.86 kB / 1.277 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.8388, allocations: 10.44 kB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.8388, allocations: 5.797 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8388, allocations: 0 / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8388, allocations: 1.5 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.8392, allocations: 381.7 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8392, allocations: 5.797 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.8392, allocations: 8.188 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8392, allocations: 1.188 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.8392, allocations: 1.188 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8392, allocations: 1.922 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8392, allocations: 1.156 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.8395, allocations: 212.5 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.8395, allocations: 82.66 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.8395, allocations: 4.844 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.8396, allocations: 4.344 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.8396, allocations: 14.66 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.8396, allocations: 1.906 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.8397, allocations: 92.12 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8397, allocations: 0 / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002455/0.8399, allocations: 20 kB / 1.277 GB, free: 3.133 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000461/0.8404, allocations: 0.7619 MB / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.8407, allocations: 164.3 kB / 1.278 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8407, allocations: 0 / 1.278 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.8408, allocations: 32.47 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.8411, allocations: 15.97 kB / 1.278 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.8429, allocations: 1.699 MB / 1.28 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.8432, allocations: 0.6908 MB / 1.281 GB, free: 16.19 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.8432, allocations: 5.031 kB / 1.281 GB, free: 16.19 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.8433, allocations: 22.67 kB / 1.281 GB, free: 16.18 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.8433, allocations: 3.938 kB / 1.281 GB, free: 16.17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.8693, allocations: 2.55 MB / 1.283 GB, free: 15.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.873, allocations: 2.906 kB / 1.283 GB, free: 15.72 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable edge1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable edge1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.198572812005295]