Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",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.001349/0.001349, allocations: 108 kB / 15.6 MB, free: 132 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.001535/0.001535, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.088/2.088, allocations: 390.3 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.88 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4913, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001752/0.4931, allocations: 1.199 MB / 0.9509 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005637/0.4937, allocations: 399.5 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.4937, allocations: 7.938 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.4937, allocations: 0 / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.333e-05/0.4938, allocations: 0 / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.4942, allocations: 103 kB / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.409e-05/0.4942, allocations: 6.25 kB / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.4942, allocations: 9.484 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.4943, allocations: 7.469 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.01e-05/0.4943, allocations: 7.25 kB / 0.9514 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.4943, allocations: 1.219 kB / 0.9514 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.4945, allocations: 97.42 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.4945, allocations: 7.984 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.4945, allocations: 6.875 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.4946, allocations: 76.55 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.4946, allocations: 0 / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4946, allocations: 1.062 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.4946, allocations: 0 / 0.9516 GB, free: 7.703 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.0002881/0.4949, allocations: 346.2 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.495, allocations: 9.469 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.495, allocations: 36.16 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.495, allocations: 6.188 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.644e-05/0.4951, allocations: 172 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.4951, allocations: 384 / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.4951, allocations: 7.938 kB / 0.9521 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.567e-05/0.4952, allocations: 40.03 kB / 0.9522 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.4952, allocations: 3.938 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.4952, allocations: 0 / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4952, allocations: 1.156 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.4953, allocations: 3.969 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.4955, allocations: 255.4 kB / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.84e-05/0.4955, allocations: 41.34 kB / 0.9525 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.4956, allocations: 15.62 kB / 0.9525 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/0.4956, allocations: 0 / 0.9525 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.718e-05/0.4957, allocations: 61.62 kB / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.4957, allocations: 0 / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000145/0.4958, allocations: 81.7 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.4959, allocations: 51.41 kB / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.271e-05/0.4959, allocations: 93.86 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.4959, allocations: 25.7 kB / 0.9528 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.197e-05/0.4959, allocations: 85.55 kB / 0.9529 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.496, allocations: 21.33 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.496, allocations: 19.72 kB / 0.9529 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.125e-05/0.496, allocations: 316.1 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.496, allocations: 9.734 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.4961, allocations: 31.94 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.587e-05/0.4961, allocations: 57.25 kB / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4961, allocations: 3.938 kB / 0.9533 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.144e-05/0.4962, allocations: 75.61 kB / 0.9534 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.4962, allocations: 12.19 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.4962, allocations: 1.25 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.4963, allocations: 2.562 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.047e-05/0.4963, allocations: 6.375 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.4963, allocations: 2.594 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.4963, allocations: 5.344 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.4964, allocations: 2.469 kB / 0.9534 GB, free: 5.773 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 3.897e-05/0.4964, allocations: 116.2 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.4964, allocations: 6.859 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.55e-05/0.4964, allocations: 3.562 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4964, allocations: 0 / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4964, allocations: 4.969 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4965, allocations: 0 / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.4966, allocations: 313.5 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4966, allocations: 0 / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.4966, allocations: 8.266 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4966, allocations: 0 / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.4966, allocations: 1.25 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4966, allocations: 4 kB / 0.9538 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4967, allocations: 0 / 0.9538 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.113e-05/0.4967, allocations: 163.8 kB / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.4968, allocations: 86.41 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.4968, allocations: 1.688 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/0.4968, allocations: 0 / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.4969, allocations: 1.406 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.4969, allocations: 1.5 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.335e-05/0.4969, allocations: 80.98 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4969, allocations: 1.656 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002426/0.4971, allocations: 31.72 kB / 0.9542 GB, free: 4.953 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.0004/0.4975, allocations: 0.7676 MB / 0.9549 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.529e-05/0.4976, allocations: 36.42 kB / 0.955 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4976, allocations: 0 / 0.955 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.674e-05/0.4977, allocations: 18.05 kB / 0.955 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.4979, allocations: 9.469 kB / 0.955 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.4985, allocations: 1.245 MB / 0.9562 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.36e-05/0.4985, allocations: 0.6864 MB / 0.9569 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.4986, allocations: 5.344 kB / 0.9569 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.4986, allocations: 15.5 kB / 0.9569 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.4986, allocations: 0 / 0.9569 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.249/1.747, allocations: 1.879 MB / 0.9587 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/9.435, allocations: 9 kB / 0.9587 GB, free: 1.207 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:mu,seed,time,y