Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001191/0.001191, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.567/1.567, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.437/2.437, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.06 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3057, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005344/0.3111, allocations: 2.646 MB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.3138, allocations: 1.324 MB / 0.955 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.314, allocations: 3.938 kB / 0.955 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008039/0.3149, allocations: 175.3 kB / 0.9552 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004509/0.3154, allocations: 167.3 kB / 0.9553 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.3158, allocations: 159.7 kB / 0.9555 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.3162, allocations: 267.1 kB / 0.9557 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.3166, allocations: 153.4 kB / 0.9559 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3167, allocations: 103.6 kB / 0.956 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.317, allocations: 127.5 kB / 0.9561 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.3171, allocations: 16 kB / 0.9561 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.3173, allocations: 143.6 kB / 0.9563 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3175, allocations: 67.81 kB / 0.9563 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.959e-05/0.3176, allocations: 91.52 kB / 0.9564 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.3179, allocations: 291.1 kB / 0.9567 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.318, allocations: 4 kB / 0.9567 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.124e-06/0.318, allocations: 4 kB / 0.9567 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.318, allocations: 0 / 0.9567 GB, free: 2.324 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008717/0.3189, allocations: 0.4911 MB / 0.9572 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3189, allocations: 8.031 kB / 0.9572 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005199/0.3194, allocations: 68.58 kB / 0.9573 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.3198, allocations: 246.2 kB / 0.9575 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3198, allocations: 8.656 kB / 0.9575 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.3199, allocations: 16.38 kB / 0.9575 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/0.3204, allocations: 312.9 kB / 0.9578 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3204, allocations: 0 / 0.9578 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.3204, allocations: 4 kB / 0.9578 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/0.3205, allocations: 28.27 kB / 0.9578 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.321, allocations: 264.5 kB / 0.9581 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.3226, allocations: 1.506 MB / 0.9596 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.3231, allocations: 245.1 kB / 0.9598 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.3234, allocations: 125.6 kB / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.3234, allocations: 11.94 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3234, allocations: 38.56 kB / 0.96 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.3234, allocations: 0 / 0.96 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.000753/0.3242, allocations: 345.2 kB / 0.9603 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3243, allocations: 77.11 kB / 0.9604 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3244, allocations: 179.2 kB / 0.9605 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.3245, allocations: 29.83 kB / 0.9606 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.3245, allocations: 144 kB / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.3246, allocations: 47.3 kB / 0.9608 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.3247, allocations: 53.61 kB / 0.9608 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3248, allocations: 326.8 kB / 0.9611 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.3251, allocations: 108.8 kB / 0.9612 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.3253, allocations: 171.5 kB / 0.9614 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.3257, allocations: 276.6 kB / 0.9616 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3257, allocations: 0 / 0.9616 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005341/0.3263, allocations: 309.2 kB / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3263, allocations: 8 kB / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3263, allocations: 0 / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3263, allocations: 7.984 kB / 0.962 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.3266, allocations: 55.89 kB / 0.962 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3266, allocations: 4 kB / 0.962 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.3268, allocations: 35.72 kB / 0.962 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.3269, allocations: 12.12 kB / 0.9621 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000262/0.3271, allocations: 203.1 kB / 0.9623 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002011/0.3273, allocations: 150.5 kB / 0.9624 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003787/0.3277, allocations: 254.5 kB / 0.9626 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.3277, allocations: 0 / 0.9626 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004776/0.3282, allocations: 277.2 kB / 0.9629 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.3282, allocations: 7.938 kB / 0.9629 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3282, allocations: 4 kB / 0.9629 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/0.3283, allocations: 8.25 kB / 0.9629 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.3285, allocations: 43.97 kB / 0.963 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.3285, allocations: 7.938 kB / 0.963 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.3286, allocations: 31.81 kB / 0.963 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3287, allocations: 11.94 kB / 0.963 GB, free: 11.38 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001482/0.3288, allocations: 188.2 kB / 0.9632 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.3289, allocations: 15.81 kB / 0.9632 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.3294, allocations: 278.9 kB / 0.9635 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3294, allocations: 4 kB / 0.9635 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3294, allocations: 0 / 0.9635 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3295, allocations: 0 / 0.9635 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.3305, allocations: 0.6809 MB / 0.9641 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3305, allocations: 4 kB / 0.9641 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.3307, allocations: 39.95 kB / 0.9642 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3307, allocations: 4 kB / 0.9642 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3308, allocations: 11.94 kB / 0.9642 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3308, allocations: 3.938 kB / 0.9642 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3308, allocations: 4 kB / 0.9642 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.3313, allocations: 448.8 kB / 0.9646 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.3315, allocations: 116.9 kB / 0.9647 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.3316, allocations: 15.84 kB / 0.9648 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.3318, allocations: 27.97 kB / 0.9648 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.3319, allocations: 7.984 kB / 0.9648 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3319, allocations: 4 kB / 0.9648 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001101/0.332, allocations: 135.2 kB / 0.9649 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.332, allocations: 0 / 0.9649 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005469/0.3326, allocations: 79.84 kB / 0.965 GB, free: 9.215 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0001245/0.3327, allocations: 111.2 kB / 0.9651 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007087/0.3334, allocations: 363.6 kB / 0.9655 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3334, allocations: 0.9375 kB / 0.9655 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.3336, allocations: 124 kB / 0.9656 GB, free: 8.621 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.3341, allocations: 43.78 kB / 0.9656 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.3349, allocations: 442.4 kB / 0.966 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3352, allocations: 0.7439 MB / 0.9668 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001962/0.3354, allocations: 77.45 kB / 0.9668 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.3355, allocations: 19.44 kB / 0.9669 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of SimCode: time 4.9e-07/0.3355, allocations: 0 / 0.9669 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of Templates: time 0.005547/0.341, allocations: 2.307 MB / 0.9691 GB, free: 4.953 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches