Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001125/0.001125, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.255/2.255, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.52 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3143, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004763/0.3191, allocations: 2.432 MB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.322, allocations: 1.563 MB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.3222, allocations: 4 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007841/0.3231, allocations: 183.1 kB / 0.9544 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.3236, allocations: 151.3 kB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005782/0.3242, allocations: 187.5 kB / 0.9547 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.3246, allocations: 211.3 kB / 0.9549 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.3249, allocations: 121 kB / 0.955 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.3251, allocations: 91.67 kB / 0.9551 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.3254, allocations: 95.66 kB / 0.9552 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.3254, allocations: 12 kB / 0.9552 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004149/0.3258, allocations: 219.5 kB / 0.9554 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.3259, allocations: 63.88 kB / 0.9555 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.326, allocations: 83.59 kB / 0.9555 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.3265, allocations: 299.4 kB / 0.9558 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3265, allocations: 0 / 0.9558 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3265, allocations: 0 / 0.9558 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.3266, allocations: 0 / 0.9558 GB, free: 3.16 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007825/0.3273, allocations: 479 kB / 0.9563 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3274, allocations: 12.03 kB / 0.9563 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008184/0.3282, allocations: 96.53 kB / 0.9564 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.3285, allocations: 224.1 kB / 0.9566 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.3285, allocations: 12.66 kB / 0.9566 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.3286, allocations: 8.375 kB / 0.9566 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.3291, allocations: 299.6 kB / 0.9569 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3291, allocations: 3.984 kB / 0.9569 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.3291, allocations: 8 kB / 0.9569 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.3292, allocations: 16.22 kB / 0.9569 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.3296, allocations: 224.4 kB / 0.9571 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.3315, allocations: 1.603 MB / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.3319, allocations: 319.2 kB / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.332, allocations: 61.69 kB / 0.9591 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.332, allocations: 4 kB / 0.9591 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3321, allocations: 38.56 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.3321, allocations: 3.938 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006215/0.3327, allocations: 245.1 kB / 0.9594 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.3328, allocations: 85.05 kB / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.333, allocations: 207.3 kB / 0.9596 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3331, allocations: 33.7 kB / 0.9597 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.3332, allocations: 147.7 kB / 0.9598 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.3332, allocations: 35.73 kB / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3333, allocations: 53.61 kB / 0.9599 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3334, allocations: 322.8 kB / 0.9602 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.3336, allocations: 92.67 kB / 0.9603 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.3338, allocations: 151.1 kB / 0.9604 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.3342, allocations: 238.9 kB / 0.9607 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3342, allocations: 0 / 0.9607 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005248/0.3347, allocations: 273.5 kB / 0.9609 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3347, allocations: 8 kB / 0.9609 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3348, allocations: 0 / 0.9609 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.3348, allocations: 7.938 kB / 0.9609 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.3351, allocations: 55.89 kB / 0.961 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.3351, allocations: 12 kB / 0.961 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.3353, allocations: 27.83 kB / 0.961 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3354, allocations: 11.98 kB / 0.961 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002262/0.3356, allocations: 172.1 kB / 0.9612 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001903/0.3358, allocations: 152 kB / 0.9613 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002983/0.3361, allocations: 223.8 kB / 0.9616 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.3361, allocations: 0 / 0.9616 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004698/0.3366, allocations: 249.1 kB / 0.9618 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3366, allocations: 8 kB / 0.9618 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3366, allocations: 4 kB / 0.9618 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-06/0.3366, allocations: 4.406 kB / 0.9618 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.3369, allocations: 55.91 kB / 0.9619 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3369, allocations: 7.938 kB / 0.9619 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.3371, allocations: 27.88 kB / 0.9619 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.3371, allocations: 8 kB / 0.9619 GB, free: 12.36 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.0001144/0.3373, allocations: 188.2 kB / 0.9621 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.3373, allocations: 15.91 kB / 0.9621 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3376, allocations: 162.8 kB / 0.9623 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3376, allocations: 3.938 kB / 0.9623 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3376, allocations: 128 / 0.9623 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3377, allocations: 4 kB / 0.9623 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009752/0.3386, allocations: 0.7119 MB / 0.963 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3387, allocations: 4 kB / 0.963 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3388, allocations: 31.92 kB / 0.963 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.3388, allocations: 4 kB / 0.963 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3388, allocations: 4 kB / 0.963 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3388, allocations: 0 / 0.963 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3388, allocations: 4.344 kB / 0.963 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.3392, allocations: 386.1 kB / 0.9634 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.3393, allocations: 108.9 kB / 0.9635 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3393, allocations: 4 kB / 0.9635 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.3395, allocations: 7.984 kB / 0.9635 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3396, allocations: 31.89 kB / 0.9635 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.3396, allocations: 7.938 kB / 0.9635 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001813/0.3398, allocations: 160.8 kB / 0.9637 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3398, allocations: 0 / 0.9637 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005394/0.3403, allocations: 72 kB / 0.9638 GB, free: 10.31 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.0001533/0.3405, allocations: 119 kB / 0.9639 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005603/0.3411, allocations: 280.8 kB / 0.9641 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3411, allocations: 0 / 0.9641 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.3412, allocations: 60.34 kB / 0.9642 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3417, allocations: 27.98 kB / 0.9642 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.3425, allocations: 456.8 kB / 0.9647 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.3428, allocations: 0.7361 MB / 0.9654 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.948e-05/0.3429, allocations: 23.42 kB / 0.9654 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.3429, allocations: 7.938 kB / 0.9654 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of Templates: time 0.004942/0.3479, allocations: 2.324 MB / 0.9677 GB, free: 6.207 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches