Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.00635/0.00635, allocations: 97.92 kB / 15.73 MB, free: 6.004 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.001652/0.001652, allocations: 197.6 kB / 16.67 MB, free: 5.922 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.44/2.44, allocations: 437.1 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2496, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002011/0.2516, allocations: 1.204 MB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007273/0.2524, allocations: 426.9 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.2524, allocations: 0 / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.2524, allocations: 0 / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.87e-05/0.2525, allocations: 0 / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.2529, allocations: 115.6 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.42e-05/0.253, allocations: 11.98 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.253, allocations: 4 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.253, allocations: 11.98 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.78e-05/0.2531, allocations: 11.92 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.2531, allocations: 0 / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.2533, allocations: 103.8 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.2533, allocations: 3.938 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.2533, allocations: 15.92 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.2535, allocations: 95.97 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2535, allocations: 0 / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2535, allocations: 0 / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.2535, allocations: 0 / 1.168 GB, free: 5.262 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004311/0.254, allocations: 381 kB / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.254, allocations: 8.031 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.2541, allocations: 34.75 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.2541, allocations: 4.891 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2542, allocations: 172.2 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.2542, allocations: 8.375 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-06/0.2542, allocations: 384 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.825e-05/0.2543, allocations: 38.25 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2544, allocations: 3.938 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.2544, allocations: 4 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.2544, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.2544, allocations: 11.98 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.2547, allocations: 241 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.038e-05/0.2548, allocations: 46.38 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.2548, allocations: 16.86 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.2549, allocations: 4 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.255, allocations: 59.48 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.255, allocations: 0 / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0001822/0.2552, allocations: 77.58 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.2552, allocations: 55.41 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.2553, allocations: 101.8 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2553, allocations: 29.7 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.2554, allocations: 80.14 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.2554, allocations: 23.88 kB / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.2554, allocations: 17.72 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2556, allocations: 318.8 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.2556, allocations: 7.984 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/0.2556, allocations: 35.42 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.315e-05/0.2557, allocations: 59.53 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2557, allocations: 3.938 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001002/0.2558, allocations: 69.56 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2559, allocations: 14.17 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2559, allocations: 0 / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.2559, allocations: 0 / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.2559, allocations: 12.06 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2559, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.256, allocations: 11.94 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.256, allocations: 4 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 8.288e-05/0.2561, allocations: 117.7 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.2561, allocations: 11.94 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.2561, allocations: 3.562 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2561, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2561, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2561, allocations: 7.938 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.2564, allocations: 298.6 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2564, allocations: 0 / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.2564, allocations: 4 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.2564, allocations: 0 / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.2564, allocations: 0 / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2565, allocations: 3.938 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2565, allocations: 4.312 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.2566, allocations: 171.4 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.2567, allocations: 85.06 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.2567, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.616e-05/0.2567, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.2568, allocations: 8 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2568, allocations: 3.984 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.2568, allocations: 79.28 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2568, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002565/0.2571, allocations: 35.88 kB / 1.171 GB, free: 2.16 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0006827/0.2578, allocations: 0.7735 MB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.2579, allocations: 31.98 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.2579, allocations: 4.125 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.2579, allocations: 15.94 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.2581, allocations: 4 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2592, allocations: 1.273 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2595, allocations: 0.6807 MB / 1.173 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.577e-05/0.2595, allocations: 3.984 kB / 1.173 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.2595, allocations: 15.44 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2595, allocations: 0 / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1852/0.4448, allocations: 1.998 MB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.939/9.384, allocations: 24.22 kB / 1.175 GB, free: 13.3 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,time,x,y