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.001514/0.001514, 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.001808/0.001808, allocations: 191.7 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.237/1.237, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.122/2.122, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.8121 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4953, allocations: 140.4 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001787/0.4971, allocations: 1.267 MB / 0.9505 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005555/0.4977, allocations: 403.9 kB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.4977, allocations: 0 / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.4977, allocations: 0 / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.708e-05/0.4978, allocations: 3.938 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.4982, allocations: 82.89 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.961e-05/0.4982, allocations: 14.83 kB / 0.9509 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.4983, allocations: 5.281 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.677e-05/0.4983, allocations: 8.172 kB / 0.951 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.05e-05/0.4983, allocations: 6.75 kB / 0.951 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.4983, allocations: 6.062 kB / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.4985, allocations: 87.48 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.4985, allocations: 5.375 kB / 0.9511 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.4985, allocations: 6.688 kB / 0.9511 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.4986, allocations: 84.34 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4987, allocations: 1.25 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4987, allocations: 3.938 kB / 0.9511 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.4987, allocations: 4 kB / 0.9511 GB, free: 7.617 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.0002952/0.499, allocations: 346.5 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.499, allocations: 9.625 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.4991, allocations: 30.75 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.4991, allocations: 6.312 kB / 0.9515 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.184e-05/0.4991, allocations: 164 kB / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.4992, allocations: 9.672 kB / 0.9517 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.4992, allocations: 7.125 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.4992, allocations: 39.75 kB / 0.9517 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.4993, allocations: 3.938 kB / 0.9517 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.4993, allocations: 1.375 kB / 0.9517 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.4993, allocations: 0 / 0.9517 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.36e-05/0.4993, allocations: 12.06 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.4995, allocations: 240 kB / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.923e-05/0.4996, allocations: 41.5 kB / 0.952 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.4996, allocations: 18.3 kB / 0.952 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.4996, allocations: 5.453 kB / 0.952 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.259e-05/0.4997, allocations: 56.97 kB / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4997, allocations: 0 / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001569/0.4999, allocations: 77.08 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.4999, allocations: 56.78 kB / 0.9522 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.522e-05/0.5, allocations: 92.61 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.5, allocations: 31.08 kB / 0.9523 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.121e-05/0.5, allocations: 80.14 kB / 0.9524 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.5, allocations: 22.48 kB / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.5001, allocations: 19.22 kB / 0.9525 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.24e-05/0.5001, allocations: 312.3 kB / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.5001, allocations: 12.89 kB / 0.9528 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.5001, allocations: 44.39 kB / 0.9528 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.5002, allocations: 49.41 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5002, allocations: 5.125 kB / 0.9529 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.972e-05/0.5003, allocations: 69.53 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.5003, allocations: 9.719 kB / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5003, allocations: 5.016 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.5003, allocations: 1.406 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/0.5004, allocations: 8 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.5004, allocations: 1.406 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.5004, allocations: 1.156 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.5004, allocations: 3.062 kB / 0.953 GB, free: 5.699 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.177e-05/0.5005, allocations: 120.5 kB / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.5005, allocations: 1.656 kB / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.5005, allocations: 15.55 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.5005, allocations: 5.344 kB / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5005, allocations: 0 / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5005, allocations: 1.562 kB / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.5007, allocations: 297 kB / 0.9534 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5007, allocations: 4 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.5007, allocations: 3.062 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5007, allocations: 8.641 kB / 0.9534 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.5007, allocations: 0.5625 kB / 0.9534 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5007, allocations: 4.844 kB / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5007, allocations: 0 / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.563e-05/0.5008, allocations: 160 kB / 0.9536 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.5009, allocations: 86.38 kB / 0.9536 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.5009, allocations: 1.5 kB / 0.9536 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.5009, allocations: 0 / 0.9536 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.5009, allocations: 5.625 kB / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.5009, allocations: 1.75 kB / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.437e-05/0.501, allocations: 80.59 kB / 0.9537 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.501, allocations: 0 / 0.9537 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000247/0.5012, allocations: 37.64 kB / 0.9538 GB, free: 4.871 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.000418/0.5016, allocations: 0.7599 MB / 0.9545 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.146e-05/0.5017, allocations: 39.98 kB / 0.9545 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.5018, allocations: 0 / 0.9545 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.85e-05/0.5018, allocations: 13.53 kB / 0.9545 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.502, allocations: 10.36 kB / 0.9546 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.5026, allocations: 1.249 MB / 0.9558 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.493e-05/0.5027, allocations: 0.682 MB / 0.9564 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.5027, allocations: 6.531 kB / 0.9565 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.5027, allocations: 14.09 kB / 0.9565 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5027, allocations: 0 / 0.9565 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.5243, allocations: 1.811 MB / 0.9582 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001318/0.5245, allocations: 264.6 kB / 0.9585 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.117, allocations: 0 / 0.9585 GB, free: 0.8945 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