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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 91.3 kB / 15.06 MB, free: 1.094 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.001118/0.001118, allocations: 172.7 kB / 15.95 MB, free: 204 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.507/1.507, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.612/2.612, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7891/0.7896, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.0009666/0.7906, allocations: 0.938 MB / 0.9553 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006226/0.7912, allocations: 388.3 kB / 0.9557 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.7912, allocations: 0 / 0.9557 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.7913, allocations: 3.938 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.846e-05/0.7913, allocations: 1.438 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.7917, allocations: 90.38 kB / 0.9558 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.882e-05/0.7918, allocations: 15.23 kB / 0.9558 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.7918, allocations: 6.109 kB / 0.9558 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.23e-05/0.7919, allocations: 7.625 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.497e-05/0.7919, allocations: 2.406 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.7919, allocations: 1.25 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.7921, allocations: 96.17 kB / 0.9559 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.7921, allocations: 5.406 kB / 0.9559 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.7922, allocations: 29.23 kB / 0.956 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.7923, allocations: 70.52 kB / 0.956 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7923, allocations: 0 / 0.956 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7923, allocations: 1.062 kB / 0.956 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.7923, allocations: 0 / 0.956 GB, free: 6.477 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.0003321/0.7927, allocations: 376 kB / 0.9564 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7927, allocations: 8.656 kB / 0.9564 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.7927, allocations: 6.797 kB / 0.9564 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.698e-05/0.7928, allocations: 160.5 kB / 0.9566 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.7928, allocations: 5.25 kB / 0.9566 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.7929, allocations: 9.031 kB / 0.9566 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.911e-05/0.793, allocations: 35.34 kB / 0.9566 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.793, allocations: 3.984 kB / 0.9566 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.793, allocations: 1.062 kB / 0.9566 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.793, allocations: 0 / 0.9566 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.793, allocations: 11.39 kB / 0.9566 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001043/0.7931, allocations: 157.2 kB / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.118e-05/0.7932, allocations: 30.8 kB / 0.9568 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.7933, allocations: 18.11 kB / 0.9568 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.7933, allocations: 0 / 0.9568 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.7934, allocations: 57.02 kB / 0.9569 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.7934, allocations: 0 / 0.9569 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001802/0.7936, allocations: 68.09 kB / 0.9569 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.7936, allocations: 56.92 kB / 0.957 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.71e-05/0.7937, allocations: 106.7 kB / 0.9571 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.7937, allocations: 27.11 kB / 0.9571 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.592e-05/0.7937, allocations: 81.64 kB / 0.9572 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.7937, allocations: 13.05 kB / 0.9572 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.7938, allocations: 0 / 0.9572 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.687e-05/0.7938, allocations: 312.4 kB / 0.9575 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.7938, allocations: 8.094 kB / 0.9575 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.7938, allocations: 34.8 kB / 0.9575 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.7939, allocations: 18.75 kB / 0.9576 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7939, allocations: 1.156 kB / 0.9576 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.558e-05/0.794, allocations: 71.92 kB / 0.9576 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.794, allocations: 5.594 kB / 0.9576 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.794, allocations: 2.094 kB / 0.9576 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.794, allocations: 5.422 kB / 0.9576 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.7941, allocations: 9.781 kB / 0.9577 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7941, allocations: 1.938 kB / 0.9577 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.7941, allocations: 6.062 kB / 0.9577 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.7942, allocations: 6.047 kB / 0.9577 GB, free: 4.719 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 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 5.236e-05/0.7942, allocations: 112.2 kB / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.7942, allocations: 2.094 kB / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.7943, allocations: 11.48 kB / 0.9578 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7943, allocations: 0.9688 kB / 0.9578 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7943, allocations: 4.844 kB / 0.9578 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.7943, allocations: 0 / 0.9578 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.333e-05/0.7944, allocations: 158.7 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7944, allocations: 0 / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.145e-05/0.7944, allocations: 1.375 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7944, allocations: 4.844 kB / 0.958 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.7944, allocations: 5.281 kB / 0.958 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7944, allocations: 0 / 0.958 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7944, allocations: 1.469 kB / 0.958 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.7945, allocations: 97.5 kB / 0.9581 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.7945, allocations: 78.11 kB / 0.9581 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.7946, allocations: 5 kB / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.934e-05/0.7946, allocations: 0 / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.7946, allocations: 6.203 kB / 0.9581 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.7946, allocations: 1 kB / 0.9581 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.016e-05/0.7947, allocations: 78.03 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7947, allocations: 0 / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002469/0.7949, allocations: 39.33 kB / 0.9582 GB, free: 4.09 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002899/0.7952, allocations: 178.8 kB / 0.9584 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.587e-05/0.7953, allocations: 29.11 kB / 0.9584 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7953, allocations: 0 / 0.9584 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.7954, allocations: 8.406 kB / 0.9585 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.7955, allocations: 11.83 kB / 0.9585 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002183/0.7957, allocations: 115 kB / 0.9586 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.319e-05/0.7958, allocations: 0.6755 MB / 0.9592 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.857e-05/0.7958, allocations: 4.984 kB / 0.9592 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.7959, allocations: 14.31 kB / 0.9593 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7959, allocations: 0 / 0.9593 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of Templates: time 0.00303/0.7989, allocations: 0.9938 MB / 0.9602 GB, free: 2.582 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (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 & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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,t0,time,y