Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_9_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.001091/0.001091, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001153/0.001153, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.232/1.232, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.139/2.139, allocations: 390.3 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001177, allocations: 59.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.4877, allocations: 140.4 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001896/0.4896, allocations: 1.286 MB / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006038/0.4903, allocations: 411.3 kB / 0.9509 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.912e-05/0.4903, allocations: 0 / 0.9509 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.4903, allocations: 3.938 kB / 0.9509 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.371e-05/0.4904, allocations: 0 / 0.9509 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.4908, allocations: 93.5 kB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.438e-05/0.4908, allocations: 16.58 kB / 0.951 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.4909, allocations: 2.656 kB / 0.951 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.4909, allocations: 8.469 kB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.338e-05/0.4909, allocations: 17.44 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.4909, allocations: 1.5 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.4911, allocations: 98.66 kB / 0.9511 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.4911, allocations: 9.328 kB / 0.9511 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.4912, allocations: 7.812 kB / 0.9511 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.4913, allocations: 90.03 kB / 0.9512 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4913, allocations: 0 / 0.9512 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4913, allocations: 0 / 0.9512 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.4913, allocations: 0 / 0.9512 GB, free: 7.582 MB / 0.7169 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.0003214/0.4917, allocations: 388.1 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.4917, allocations: 9.031 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.4917, allocations: 39.95 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.4918, allocations: 7.375 kB / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.35e-05/0.4918, allocations: 161.7 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.4919, allocations: 5.469 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.4919, allocations: 3.062 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.397e-05/0.492, allocations: 48.08 kB / 0.9518 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.492, allocations: 7.922 kB / 0.9518 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.492, allocations: 5.5 kB / 0.9519 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.492, allocations: 0 / 0.9519 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.853e-05/0.492, allocations: 8 kB / 0.9519 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.4923, allocations: 248.5 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.374e-05/0.4923, allocations: 36.97 kB / 0.9521 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.4924, allocations: 16.58 kB / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.4924, allocations: 1.594 kB / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.4925, allocations: 64.86 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4925, allocations: 0 / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001743/0.4927, allocations: 72.98 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.4927, allocations: 56.53 kB / 0.9523 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.109e-05/0.4928, allocations: 98.7 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.4928, allocations: 34.86 kB / 0.9525 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.538e-05/0.4928, allocations: 85.41 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.4928, allocations: 5.531 kB / 0.9525 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.4928, allocations: 27.61 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.313e-05/0.4929, allocations: 316.1 kB / 0.9529 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.4929, allocations: 9.312 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.4929, allocations: 43.36 kB / 0.9529 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.518e-05/0.493, allocations: 43.41 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.493, allocations: 3.938 kB / 0.953 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.199e-05/0.4931, allocations: 78.86 kB / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.4931, allocations: 5.094 kB / 0.9531 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4931, allocations: 1.25 kB / 0.9531 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.4931, allocations: 5.25 kB / 0.9531 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.4932, allocations: 7.094 kB / 0.9531 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4932, allocations: 2.031 kB / 0.9531 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.4932, allocations: 1.219 kB / 0.9531 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.4932, allocations: 3.125 kB / 0.9531 GB, free: 5.609 MB / 0.7169 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 4.398e-05/0.4933, allocations: 124.4 kB / 0.9532 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.4933, allocations: 2.281 kB / 0.9532 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.4933, allocations: 9.719 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4933, allocations: 3.984 kB / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4933, allocations: 4 kB / 0.9532 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4933, allocations: 7.875 kB / 0.9532 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.4935, allocations: 301.8 kB / 0.9535 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4935, allocations: 0 / 0.9535 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.4935, allocations: 2.969 kB / 0.9535 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4935, allocations: 1.156 kB / 0.9535 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4935, allocations: 5.312 kB / 0.9535 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4936, allocations: 0 / 0.9535 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4936, allocations: 0 / 0.9535 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.992e-05/0.4937, allocations: 172.5 kB / 0.9537 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.301e-05/0.4937, allocations: 77.11 kB / 0.9538 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.4937, allocations: 5.469 kB / 0.9538 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.4937, allocations: 1.344 kB / 0.9538 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.4938, allocations: 5.453 kB / 0.9538 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.4938, allocations: 1.375 kB / 0.9538 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.818e-05/0.4938, allocations: 82.06 kB / 0.9538 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4938, allocations: 0 / 0.9538 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002636/0.4941, allocations: 40.77 kB / 0.9539 GB, free: 4.773 MB / 0.7169 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.0004506/0.4945, allocations: 0.7628 MB / 0.9546 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.4946, allocations: 40.45 kB / 0.9547 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4947, allocations: 0 / 0.9547 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/0.4947, allocations: 12.97 kB / 0.9547 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.4949, allocations: 10.17 kB / 0.9547 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.4956, allocations: 1.266 MB / 0.9559 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.689e-05/0.4956, allocations: 0.6789 MB / 0.9566 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.4957, allocations: 6.828 kB / 0.9566 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.4957, allocations: 12.97 kB / 0.9566 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.4957, allocations: 1.438 kB / 0.9566 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.5096, allocations: 1.893 MB / 0.9585 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.5097, allocations: 236.6 kB / 0.9587 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.062, allocations: 3.938 kB / 0.9587 GB, free: 0.8086 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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