Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 108.9 kB / 16.27 MB, free: 6.004 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.001692/0.001692, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.25 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.207/2.207, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.45 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.268, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005384/0.2734, allocations: 3.751 MB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.2764, allocations: 1.793 MB / 0.9557 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.2767, allocations: 23.88 kB / 0.9557 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.2777, allocations: 262.7 kB / 0.956 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007353/0.2785, allocations: 294.4 kB / 0.9562 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.2791, allocations: 255.4 kB / 0.9565 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.2798, allocations: 0.5894 MB / 0.9571 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.2803, allocations: 266.5 kB / 0.9573 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.2806, allocations: 231.1 kB / 0.9575 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.281, allocations: 235 kB / 0.9578 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.281, allocations: 28 kB / 0.9578 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.2815, allocations: 279.4 kB / 0.9581 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.2817, allocations: 115.6 kB / 0.9582 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.2819, allocations: 214.8 kB / 0.9584 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.2825, allocations: 0.5727 MB / 0.9589 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2825, allocations: 4 kB / 0.9589 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2825, allocations: 0 / 0.9589 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.2826, allocations: 0 / 0.9589 GB, free: 15.97 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001281/0.2838, allocations: 0.7401 MB / 0.9597 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2839, allocations: 8.031 kB / 0.9597 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009138/0.2848, allocations: 132.2 kB / 0.9598 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.2853, allocations: 379.6 kB / 0.9602 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.2853, allocations: 21.03 kB / 0.9602 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/0.2854, allocations: 32.36 kB / 0.9602 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007882/0.2862, allocations: 0.555 MB / 0.9607 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2862, allocations: 7.938 kB / 0.9608 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.2863, allocations: 15.98 kB / 0.9608 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-05/0.2863, allocations: 40.53 kB / 0.9608 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007501/0.2871, allocations: 413.6 kB / 0.9612 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.2899, allocations: 3.337 MB / 0.9645 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.2906, allocations: 339.5 kB / 0.9648 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.2909, allocations: 172.8 kB / 0.965 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.291, allocations: 7.938 kB / 0.965 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.291, allocations: 42.48 kB / 0.965 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.291, allocations: 0 / 0.965 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of matching and sorting (n=27): time 0.002021/0.293, allocations: 1.055 MB / 0.966 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2931, allocations: 55.64 kB / 0.9661 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.2934, allocations: 341.5 kB / 0.9664 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.2934, allocations: 29.7 kB / 0.9664 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.2936, allocations: 247.5 kB / 0.9667 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.2937, allocations: 94.64 kB / 0.9668 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.2938, allocations: 78.05 kB / 0.9668 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2939, allocations: 342.8 kB / 0.9672 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.2942, allocations: 152.8 kB / 0.9673 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.2945, allocations: 290.5 kB / 0.9676 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.2952, allocations: 482.6 kB / 0.968 GB, free: 5.961 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2952, allocations: 4 kB / 0.9681 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009518/0.2962, allocations: 0.5616 MB / 0.9686 GB, free: 5.379 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.2962, allocations: 8 kB / 0.9686 GB, free: 5.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.2962, allocations: 7.938 kB / 0.9686 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003008/0.2965, allocations: 83.05 kB / 0.9687 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.2969, allocations: 95.81 kB / 0.9688 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.2969, allocations: 11.94 kB / 0.9688 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.2971, allocations: 31.91 kB / 0.9688 GB, free: 5.137 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.2972, allocations: 20 kB / 0.9688 GB, free: 5.117 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.2974, allocations: 177.7 kB / 0.969 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.2975, allocations: 35.53 kB / 0.969 GB, free: 4.898 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008501/0.2983, allocations: 468 kB / 0.9695 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2983, allocations: 4 kB / 0.9695 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2983, allocations: 0 / 0.9695 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.2984, allocations: 3.984 kB / 0.9695 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.2998, allocations: 0.966 MB / 0.9704 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2998, allocations: 0 / 0.9704 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.3, allocations: 47.95 kB / 0.9705 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002966/0.3003, allocations: 94.53 kB / 0.9706 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.3004, allocations: 4 kB / 0.9706 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.3004, allocations: 11.92 kB / 0.9706 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3004, allocations: 0 / 0.9706 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.3014, allocations: 0.5433 MB / 0.9711 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.3016, allocations: 136.6 kB / 0.9713 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.3016, allocations: 8 kB / 0.9713 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3018, allocations: 15.97 kB / 0.9713 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.3019, allocations: 27.91 kB / 0.9713 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.302, allocations: 8 kB / 0.9713 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000228/0.3022, allocations: 239.2 kB / 0.9715 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3022, allocations: 0 / 0.9715 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004267/0.3026, allocations: 84 kB / 0.9716 GB, free: 2.109 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.3028, allocations: 111.2 kB / 0.9717 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009268/0.3037, allocations: 0.6697 MB / 0.9724 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3037, allocations: 0 / 0.9724 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.3042, allocations: 430.9 kB / 0.9728 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/0.3049, allocations: 130.9 kB / 0.9729 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.3061, allocations: 0.7733 MB / 0.9737 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.3066, allocations: 0.8234 MB / 0.9745 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.841e-05/0.3067, allocations: 39.38 kB / 0.9745 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of SimCode: time 6.01e-07/0.3067, allocations: 3.938 kB / 0.9745 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of Templates: time 0.01263/0.3193, allocations: 9.428 MB / 0.9837 GB, free: 5.535 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches