Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008608/0.0008608, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008599/0.0008599, allocations: 177.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8986/0.8986, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.876/1.876, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 3.984 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.684e-05, allocations: 10.28 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002026/0.002043, allocations: 1.612 MB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007944/0.002837, allocations: 0.6542 MB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.002911, allocations: 7.938 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.003051, allocations: 19.78 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.003246, allocations: 47.75 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.003572, allocations: 123.6 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.003767, allocations: 191.5 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.003864, allocations: 17.62 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.004048, allocations: 119.7 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.00414, allocations: 71.84 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.004167, allocations: 12 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.897e-05/0.004235, allocations: 39.97 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.004309, allocations: 27.91 kB / 1.004 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.004368, allocations: 55.84 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.004575, allocations: 191.5 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004577, allocations: 0 / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004578, allocations: 0 / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004582, allocations: 4 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004928/0.005074, allocations: 0.4886 MB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.00511, allocations: 9.344 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.005141, allocations: 38.75 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.005265, allocations: 28.83 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.005497, allocations: 185.6 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.005515, allocations: 8.375 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.005534, allocations: 12.38 kB / 1.005 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.005738, allocations: 173.6 kB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.005746, allocations: 192 / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.005763, allocations: 15.92 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.005767, allocations: 0 / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.0059, allocations: 127.3 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.006319, allocations: 355.8 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.006466, allocations: 145.9 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.006589, allocations: 132.2 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.006608, allocations: 0 / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.006794, allocations: 246.1 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.006795, allocations: 0 / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0005007/0.007296, allocations: 475.6 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.007355, allocations: 166.2 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.007484, allocations: 179.6 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.0075, allocations: 29.7 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.007556, allocations: 116.5 kB / 1.007 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.007577, allocations: 31.75 kB / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.007631, allocations: 37.7 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.007713, allocations: 326.8 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.007864, allocations: 162.8 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.007995, allocations: 212.3 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.008206, allocations: 316.8 kB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008208, allocations: 0 / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003631/0.008572, allocations: 470.9 kB / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/0.00863, allocations: 118.8 kB / 1.008 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.008635, allocations: 0 / 1.008 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.008648, allocations: 4 kB / 1.008 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.008726, allocations: 19.98 kB / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.008734, allocations: 7.938 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.008791, allocations: 11.94 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.008806, allocations: 8.25 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.000113/0.008919, allocations: 207.8 kB / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.00894, allocations: 15.91 kB / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.008968, allocations: 13.47 kB / 1.008 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.00897, allocations: 0 / 1.008 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.008975, allocations: 0 / 1.008 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.008979, allocations: 7.938 kB / 1.008 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.009462, allocations: 0.6017 MB / 1.009 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.009464, allocations: 4.266 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.009499, allocations: 15.94 kB / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.009501, allocations: 0 / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.009516, allocations: 15.92 kB / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.009518, allocations: 0 / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.009519, allocations: 4 kB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.009875, allocations: 466.1 kB / 1.01 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.009886, allocations: 11.89 kB / 1.01 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.009911, allocations: 4 kB / 1.01 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.691e-05/0.009968, allocations: 8 kB / 1.01 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.01001, allocations: 19.92 kB / 1.01 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.01002, allocations: 11.97 kB / 1.01 GB, free: 3.656 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.015e-05/0.0101, allocations: 134.3 kB / 1.01 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.0101, allocations: 0 / 1.01 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002173/0.01032, allocations: 39.94 kB / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * 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: 2 * 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.0007361/0.01105, allocations: 1.029 MB / 1.011 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.01143, allocations: 0.5153 MB / 1.011 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01143, allocations: 0 / 1.011 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.01159, allocations: 242.1 kB / 1.011 GB, free: 1.543 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01182, allocations: 28.42 kB / 1.012 GB, free: 1.516 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.01378, allocations: 2.619 MB / 1.014 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.038e-05/0.01385, allocations: 101.3 kB / 1.014 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5.5e-05/0.0139, allocations: 24.41 kB / 1.014 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.01396, allocations: 36.48 kB / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of SimCode: time 4.61e-07/0.01396, allocations: 0 / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07962/0.09358, allocations: 4.47 MB / 1.019 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.213, allocations: 0.5625 kB / 1.019 GB, free: 10.16 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVWriter_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVWriter.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVWriter.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.78277690615505]