Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007736/0.007736, allocations: 101.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 199.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2898, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002064/0.2919, allocations: 0.6582 MB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.2939, allocations: 1.179 MB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.294, allocations: 3.938 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.294, allocations: 0 / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.125e-05/0.2941, allocations: 19.86 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006464/0.2948, allocations: 138.8 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.295, allocations: 131.7 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.2951, allocations: 15.98 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.2952, allocations: 51.89 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.2954, allocations: 55.8 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.2954, allocations: 12 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.2955, allocations: 31.97 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.2956, allocations: 7.984 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.2956, allocations: 47.84 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.2958, allocations: 119.7 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2959, allocations: 0 / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2959, allocations: 0 / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2959, allocations: 4 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007482/0.2966, allocations: 404.6 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.2967, allocations: 12.03 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.2967, allocations: 34.69 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.2968, allocations: 8.938 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2969, allocations: 176.2 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.297, allocations: 4.375 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.297, allocations: 4.375 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.2972, allocations: 78.2 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.2973, allocations: 3.938 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2973, allocations: 0 / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.2973, allocations: 4 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.2975, allocations: 43.97 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.298, allocations: 324.7 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.2982, allocations: 74.55 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2983, allocations: 32.84 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.2983, allocations: 0 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.2986, allocations: 107.2 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/0.2986, allocations: 0 / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005189/0.2991, allocations: 185.5 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.2992, allocations: 55.41 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.2993, allocations: 113.8 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.2993, allocations: 33.7 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.2994, allocations: 88.05 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.2994, allocations: 19.78 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.2995, allocations: 37.7 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2996, allocations: 326.8 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.2998, allocations: 47.97 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3, allocations: 70.55 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.3002, allocations: 124.2 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3002, allocations: 3.938 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004051/0.3006, allocations: 203.2 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.3007, allocations: 33.7 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3007, allocations: 4 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3007, allocations: 3.984 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3008, allocations: 8 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.3008, allocations: 7.938 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.301, allocations: 27.95 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.301, allocations: 8 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * 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 9.178e-05/0.3011, allocations: 126.7 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.3012, allocations: 11.89 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.3012, allocations: 4.375 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3012, allocations: 4 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3012, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3012, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.3017, allocations: 410.3 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3017, allocations: 4 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.3018, allocations: 7.984 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3018, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3018, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3018, allocations: 4 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3018, allocations: 0 / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.3022, allocations: 239.3 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.3022, allocations: 92.94 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.3023, allocations: 8 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/0.3024, allocations: 8 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.3024, allocations: 11.92 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3024, allocations: 7.938 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.3025, allocations: 91.27 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3025, allocations: 0 / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000266/0.3028, allocations: 24 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006479/0.3034, allocations: 0.7818 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.3038, allocations: 183.3 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3038, allocations: 0 / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.3039, allocations: 51.92 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.3042, allocations: 20.05 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.3061, allocations: 1.654 MB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3064, allocations: 0.6846 MB / 1.175 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.414e-05/0.3064, allocations: 16.59 kB / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.3065, allocations: 19.44 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.3065, allocations: 0 / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.326, allocations: 2.731 MB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.901, allocations: 17.47 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,triggeredTrapezoid1.u,triggeredTrapezoid1.y Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,time,triggeredTrapezoid1.amplitude,triggeredTrapezoid1.falling,triggeredTrapezoid1.offset,triggeredTrapezoid1.rising,triggeredTrapezoid1.u,triggeredTrapezoid1.y