Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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.001306/0.001307, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 186.3 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 72 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2849, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002818/0.2878, allocations: 0.9036 MB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.2899, allocations: 1.169 MB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.712e-05/0.29, allocations: 0 / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.096e-05/0.2901, allocations: 11.81 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.2902, allocations: 19.8 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.2909, allocations: 150.6 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.2912, allocations: 179.6 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.2915, allocations: 37.09 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.2916, allocations: 55.84 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.2918, allocations: 75.72 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.2918, allocations: 16 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.2919, allocations: 31.98 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.292, allocations: 19.92 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.2921, allocations: 67.75 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.2924, allocations: 175.6 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.2924, allocations: 4 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.998e-06/0.2924, allocations: 0 / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.2925, allocations: 0 / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009317/0.2934, allocations: 460.6 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.2935, allocations: 8.031 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.388e-05/0.2935, allocations: 46.73 kB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.2936, allocations: 16.78 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/0.2942, allocations: 248.2 kB / 0.7872 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2942, allocations: 4.375 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.2943, allocations: 12.38 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.2946, allocations: 97.95 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2946, allocations: 0 / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.2946, allocations: 0 / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2946, allocations: 0 / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.2948, allocations: 47.95 kB / 0.7874 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.2956, allocations: 396.4 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.2957, allocations: 42.55 kB / 0.7878 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.2958, allocations: 24.78 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.2958, allocations: 4.125 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.2961, allocations: 95.34 kB / 0.7879 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.2961, allocations: 3.938 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004158/0.2965, allocations: 137.4 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.2966, allocations: 55.34 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.2967, allocations: 140.6 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.2967, allocations: 33.69 kB / 0.7883 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.2968, allocations: 120 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.2968, allocations: 23.7 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-05/0.2969, allocations: 49.69 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2971, allocations: 318.8 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2972, allocations: 47.97 kB / 0.7888 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.2974, allocations: 132 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.2977, allocations: 204.6 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2977, allocations: 0 / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004604/0.2982, allocations: 247.2 kB / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.2982, allocations: 34.08 kB / 0.7894 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2983, allocations: 4 kB / 0.7894 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2983, allocations: 4 kB / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2984, allocations: 35.84 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2984, allocations: 7.938 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.2987, allocations: 35.91 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.2987, allocations: 15.98 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 0.0001195/0.2988, allocations: 137.5 kB / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.2988, allocations: 19.84 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.2989, allocations: 12.7 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2989, allocations: 3.938 kB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2989, allocations: 8 kB / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2989, allocations: 0 / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.2995, allocations: 394.5 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2995, allocations: 0 / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.2996, allocations: 19.86 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2996, allocations: 0 / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2996, allocations: 7.984 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2996, allocations: 0 / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2996, allocations: 0 / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.3, allocations: 247.2 kB / 0.7903 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.3001, allocations: 89 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.3001, allocations: 7.922 kB / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.3002, allocations: 8 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.3002, allocations: 7.984 kB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3002, allocations: 4 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.603e-05/0.3003, allocations: 109.7 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3003, allocations: 4 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002949/0.3006, allocations: 28 kB / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007062/0.3013, allocations: 0.7865 MB / 0.7913 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.3017, allocations: 187.1 kB / 0.7915 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3017, allocations: 0 / 0.7915 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.3018, allocations: 31.98 kB / 0.7915 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.3022, allocations: 19.23 kB / 0.7915 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.3045, allocations: 1.967 MB / 0.7935 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.3048, allocations: 0.7083 MB / 0.7942 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.355e-05/0.3048, allocations: 16.64 kB / 0.7942 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.3049, allocations: 39.42 kB / 0.7942 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.3049, allocations: 0 / 0.7942 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.3326, allocations: 3.151 MB / 0.7973 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.688, allocations: 10.03 kB / 0.7973 GB, free: 14.76 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)