Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/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(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",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.001244/0.001244, 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.001118/0.001118, allocations: 192 kB / 16.25 MB, free: 6.629 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1848/0.1848, allocations: 16.76 MB / 306.8 MB, free: 15.02 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 371.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2339, allocations: 53.45 MB / 424.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002151/0.2361, allocations: 1.97 MB / 426.7 MB, free: 38.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.2384, allocations: 1.986 MB / 428.7 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.2385, allocations: 7.594 kB / 428.7 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.2389, allocations: 92.78 kB / 428.8 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.2391, allocations: 86.45 kB / 428.8 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.2402, allocations: 0.8338 MB / 429.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007886/0.241, allocations: 1.422 MB / 431.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.2412, allocations: 146.6 kB / 431.2 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.2415, allocations: 0.5323 MB / 431.8 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.2418, allocations: 310.2 kB / 432.1 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.289e-05/0.2418, allocations: 72.44 kB / 432.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.2423, allocations: 0.5205 MB / 432.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2424, allocations: 131.3 kB / 432.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.2426, allocations: 344.1 kB / 433.1 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.2433, allocations: 1.05 MB / 434.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2433, allocations: 0 / 434.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2433, allocations: 0 / 434.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2433, allocations: 0 / 434.2 MB, free: 35.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001078/0.2444, allocations: 1.25 MB / 435.4 MB, free: 34.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.2444, allocations: 11.89 kB / 435.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.2445, allocations: 118.9 kB / 435.6 MB, free: 34.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.2448, allocations: 84.34 kB / 435.6 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.2451, allocations: 416.2 kB / 436.1 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/0.2452, allocations: 73.84 kB / 436.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.2453, allocations: 71.42 kB / 436.2 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.2465, allocations: 1.142 MB / 437.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2466, allocations: 10.94 kB / 437.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.2466, allocations: 32.05 kB / 437.4 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-05/0.2467, allocations: 51.33 kB / 437.4 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/0.2476, allocations: 0.7521 MB / 438.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.2499, allocations: 3.038 MB / 441.2 MB, free: 30.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/0.2508, allocations: 1.301 MB / 442.5 MB, free: 29.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000793/0.2516, allocations: 1.206 MB / 443.7 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.2517, allocations: 83.78 kB / 443.8 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008718/0.2526, allocations: 0.8317 MB / 444.6 MB, free: 28.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 1.833e-06/0.2526, allocations: 0 / 444.6 MB, free: 28.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.002402/0.255, allocations: 2.261 MB / 446.9 MB, free: 27.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.2552, allocations: 0.617 MB / 447.5 MB, free: 27.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.2554, allocations: 384.3 kB / 447.9 MB, free: 26.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.2555, allocations: 68.78 kB / 448 MB, free: 26.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.2556, allocations: 242.2 kB / 448.2 MB, free: 26.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.2557, allocations: 202 kB / 448.4 MB, free: 26.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.2559, allocations: 208.7 kB / 448.6 MB, free: 26.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.256, allocations: 375.2 kB / 449 MB, free: 26.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.2564, allocations: 324.7 kB / 449.3 MB, free: 25.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.2569, allocations: 0.6917 MB / 450 MB, free: 25.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.2584, allocations: 2.12 MB / 452.1 MB, free: 23.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2584, allocations: 3.531 kB / 452.1 MB, free: 23.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001437/0.2598, allocations: 1.548 MB / 453.6 MB, free: 22.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/0.2599, allocations: 341.4 kB / 454 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.26, allocations: 10 kB / 454 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.26, allocations: 20.19 kB / 454 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.2603, allocations: 124.4 kB / 454.1 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.2603, allocations: 23.06 kB / 454.2 MB, free: 22.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.2607, allocations: 122.5 kB / 454.3 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.2607, allocations: 54.67 kB / 454.3 MB, free: 22.34 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 121 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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 0.0005025/0.2612, allocations: 0.7396 MB / 455.1 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2614, allocations: 73.98 kB / 455.1 MB, free: 21.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.2632, allocations: 1.719 MB / 456.9 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.2632, allocations: 6.188 kB / 456.9 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2632, allocations: 0 / 456.9 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2632, allocations: 4 kB / 456.9 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.2659, allocations: 2.675 MB / 459.5 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2659, allocations: 1.156 kB / 459.5 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.661e-05/0.266, allocations: 21.31 kB / 459.6 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2661, allocations: 1.188 kB / 459.6 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/0.2661, allocations: 39.39 kB / 459.6 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2661, allocations: 9.125 kB / 459.6 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2661, allocations: 1.125 kB / 459.6 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.2685, allocations: 2.135 MB / 461.7 MB, free: 18.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.2686, allocations: 124.7 kB / 461.9 MB, free: 18.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.2687, allocations: 76 kB / 461.9 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.2691, allocations: 55.59 kB / 462 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.2693, allocations: 83.39 kB / 462.1 MB, free: 18.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.2694, allocations: 48.94 kB / 462.1 MB, free: 18.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.2695, allocations: 232.1 kB / 462.4 MB, free: 18.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2695, allocations: 0 / 462.4 MB, free: 18.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000872/0.2704, allocations: 316.5 kB / 462.7 MB, free: 18.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 4 * 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.003042/0.2735, allocations: 2.94 MB / 465.6 MB, free: 16.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.2753, allocations: 1.897 MB / 467.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2754, allocations: 1.312 kB / 467.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.277, allocations: 2.817 MB / 470.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.2775, allocations: 103.5 kB / 470.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/0.2854, allocations: 7.441 MB / 477.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.2857, allocations: 0.9058 MB / 478.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.2861, allocations: 128.9 kB / 478.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.2863, allocations: 177.8 kB / 479.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2863, allocations: 0 / 479.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7861/1.072, allocations: 15.68 MB / 494.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/1.073, allocations: 201.9 kB / 494.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/3.313, allocations: 0 / 494.9 MB, free: 12.98 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TEnoInput.fmu > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","../files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches