Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.PulsePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime",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.001416/0.001416, allocations: 100 kB / 15.05 MB, free: 1.105 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.00214/0.002141, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.973/1.973, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.59/3.59, allocations: 409.2 MB / 0.6838 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004611, allocations: 8 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.099, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.001808/1.101, allocations: 0.8215 MB / 0.9817 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00345/1.104, allocations: 1.896 MB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/1.105, allocations: 4 kB / 0.9836 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.461e-05/1.105, allocations: 11.81 kB / 0.9836 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002457/1.105, allocations: 95.73 kB / 0.9837 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003223/1.108, allocations: 1.271 MB / 0.9849 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009689/1.109, allocations: 0.5811 MB / 0.9855 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.151e-05/1.109, allocations: 20.75 kB / 0.9855 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/1.11, allocations: 423.2 kB / 0.9859 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/1.11, allocations: 327.1 kB / 0.9862 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/1.11, allocations: 64 kB / 0.9863 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/1.11, allocations: 71.98 kB / 0.9863 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/1.11, allocations: 51.83 kB / 0.9864 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001979/1.111, allocations: 117.6 kB / 0.9865 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007064/1.111, allocations: 0.6723 MB / 0.9872 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/1.111, allocations: 0 / 0.9872 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.717e-06/1.111, allocations: 0 / 0.9872 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.111, allocations: 3.938 kB / 0.9872 GB, free: 15.87 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001089/1.113, allocations: 1 MB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.113, allocations: 12.03 kB / 0.9881 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/1.113, allocations: 42.55 kB / 0.9882 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/1.113, allocations: 63.62 kB / 0.9882 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/1.113, allocations: 211.3 kB / 0.9884 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/1.113, allocations: 39.97 kB / 0.9885 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/1.113, allocations: 67.98 kB / 0.9886 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/1.114, allocations: 218.2 kB / 0.9888 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.114, allocations: 4 kB / 0.9888 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/1.114, allocations: 4 kB / 0.9888 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/1.114, allocations: 3.938 kB / 0.9888 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/1.114, allocations: 79.7 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000913/1.115, allocations: 0.8406 MB / 0.9897 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/1.115, allocations: 323.2 kB / 0.99 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/1.115, allocations: 4.062 kB / 0.99 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005768/1.116, allocations: 456.7 kB / 0.9904 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 2.214e-06/1.116, allocations: 0 / 0.9904 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.001159/1.117, allocations: 0.5612 MB / 0.991 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002459/1.117, allocations: 439.2 kB / 0.9914 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/1.117, allocations: 300.2 kB / 0.9917 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.118, allocations: 69.69 kB / 0.9917 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/1.118, allocations: 161.3 kB / 0.9919 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.416e-05/1.118, allocations: 86.86 kB / 0.992 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/1.118, allocations: 40 kB / 0.992 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.118, allocations: 350.8 kB / 0.9923 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/1.119, allocations: 425.2 kB / 0.9928 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.12, allocations: 0.6989 MB / 0.9934 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009444/1.121, allocations: 0.8183 MB / 0.9942 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.121, allocations: 7.938 kB / 0.9942 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002727/1.124, allocations: 1.713 MB / 0.9959 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003827/1.124, allocations: 485.5 kB / 0.9964 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.124, allocations: 11.95 kB / 0.9964 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/1.124, allocations: 16 kB / 0.9964 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/1.124, allocations: 35.86 kB / 0.9964 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.421e-05/1.124, allocations: 19.92 kB / 0.9965 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/1.127, allocations: 0.5695 MB / 0.997 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/1.128, allocations: 91.92 kB / 0.9971 GB, free: 4.594 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005301/1.128, allocations: 221.6 kB / 0.9973 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/1.128, allocations: 35.62 kB / 0.9973 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-05/1.128, allocations: 34.14 kB / 0.9974 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.128, allocations: 15.89 kB / 0.9974 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/1.128, allocations: 8 kB / 0.9974 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/1.128, allocations: 7.984 kB / 0.9974 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/1.129, allocations: 333.3 kB / 0.9977 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/1.129, allocations: 4 kB / 0.9977 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/1.129, allocations: 27.86 kB / 0.9978 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/1.129, allocations: 4 kB / 0.9978 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/1.129, allocations: 23.98 kB / 0.9978 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/1.129, allocations: 4 kB / 0.9978 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/1.129, allocations: 11.89 kB / 0.9978 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.13, allocations: 0.6761 MB / 0.9985 GB, free: 3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.131, allocations: 116.5 kB / 0.9986 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/1.131, allocations: 15.98 kB / 0.9986 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/1.131, allocations: 19.98 kB / 0.9986 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.131, allocations: 59.89 kB / 0.9987 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/1.131, allocations: 27.98 kB / 0.9987 GB, free: 2.746 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002108/1.131, allocations: 191 kB / 0.9989 GB, free: 2.559 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.131, allocations: 0 / 0.9989 GB, free: 2.559 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009854/1.132, allocations: 196 kB / 0.9991 GB, free: 2.367 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002048/1.134, allocations: 2.204 MB / 1.001 GB, free: 36 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002923/1.137, allocations: 1.755 MB / 1.003 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.137, allocations: 0 / 1.003 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005287/1.138, allocations: 187.7 kB / 1.003 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008512/1.139, allocations: 104.9 kB / 1.003 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/1.144, allocations: 7.843 MB / 1.011 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/1.144, allocations: 0.784 MB / 1.012 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002071/1.144, allocations: 42.97 kB / 1.012 GB, free: 4.836 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/1.145, allocations: 107.4 kB / 1.012 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of SimCode: time 1.303e-06/1.145, allocations: 0 / 1.012 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/1.184, allocations: 13.66 MB / 1.025 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/1.185, allocations: 220.5 kB / 1.025 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/4.087, allocations: 0 / 1.025 GB, free: 7.188 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime_fmu --startTime=9 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat does not exist to compare? outputFormat=mat