Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.001501/0.001501, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437.1 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.88 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5725/0.5739, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004692/0.5786, allocations: 3.737 MB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002537/0.5812, allocations: 1.8 MB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.5814, allocations: 15.88 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008108/0.5823, allocations: 266.7 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005902/0.5829, allocations: 298.5 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.5834, allocations: 250.9 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.584, allocations: 0.6049 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.5844, allocations: 266.5 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.5847, allocations: 231.1 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.585, allocations: 223 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.585, allocations: 28 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.5854, allocations: 275.4 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.5856, allocations: 123.6 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.5858, allocations: 214.8 kB / 1.026 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.5864, allocations: 0.5862 MB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5864, allocations: 0 / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5864, allocations: 0 / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.5864, allocations: 0 / 1.026 GB, free: 9.551 MB / 0.7794 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.001011/0.5874, allocations: 0.7324 MB / 1.027 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.5875, allocations: 8.031 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.439e-05/0.5875, allocations: 66.72 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008338/0.5884, allocations: 136.2 kB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.5888, allocations: 379.5 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.5888, allocations: 21.03 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.5889, allocations: 28.36 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.5896, allocations: 0.5636 MB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5896, allocations: 0 / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.5897, allocations: 12 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.5897, allocations: 48.53 kB / 1.028 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006527/0.5904, allocations: 409.7 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.5928, allocations: 3.341 MB / 1.032 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.5934, allocations: 334.5 kB / 1.032 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.5937, allocations: 176.8 kB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.5937, allocations: 7.938 kB / 1.032 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.5937, allocations: 38.56 kB / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.243e-06/0.5937, allocations: 0 / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.001839/0.5956, allocations: 1.049 MB / 1.033 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.5956, allocations: 59.64 kB / 1.033 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.5959, allocations: 345.5 kB / 1.034 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.596, allocations: 33.64 kB / 1.034 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.5961, allocations: 243.6 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.5962, allocations: 98.58 kB / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.5963, allocations: 70.05 kB / 1.034 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5964, allocations: 350.8 kB / 1.034 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.5966, allocations: 160.7 kB / 1.035 GB, free: 352 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.597, allocations: 290.5 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/0.5976, allocations: 484.6 kB / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5976, allocations: 0 / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009169/0.5985, allocations: 0.5659 MB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5986, allocations: 8 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5986, allocations: 4 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002743/0.5989, allocations: 90.44 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.5992, allocations: 88.3 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.5992, allocations: 15.86 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.5995, allocations: 27.97 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.5995, allocations: 16 kB / 1.036 GB, free: 14.62 MB / 0.795 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.0001592/0.5997, allocations: 169.8 kB / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.5997, allocations: 39.53 kB / 1.036 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008121/0.6006, allocations: 468 kB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.6006, allocations: 3.938 kB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6006, allocations: 7.984 kB / 1.037 GB, free: 13.92 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6006, allocations: 0 / 1.037 GB, free: 13.92 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.6019, allocations: 0.966 MB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6019, allocations: 0 / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.6021, allocations: 47.95 kB / 1.038 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.6023, allocations: 82.55 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.6024, allocations: 12 kB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.6024, allocations: 0 / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6024, allocations: 4 kB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.6031, allocations: 0.5389 MB / 1.038 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.6033, allocations: 136.6 kB / 1.038 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.6033, allocations: 8 kB / 1.038 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.6035, allocations: 27.91 kB / 1.038 GB, free: 11.97 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.6036, allocations: 27.84 kB / 1.039 GB, free: 11.94 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.6036, allocations: 8 kB / 1.039 GB, free: 11.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001937/0.6038, allocations: 243.1 kB / 1.039 GB, free: 11.7 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6038, allocations: 4 kB / 1.039 GB, free: 11.7 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003763/0.6042, allocations: 88 kB / 1.039 GB, free: 11.61 MB / 0.795 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.0009675/0.6052, allocations: 1.092 MB / 1.04 GB, free: 10.47 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008216/0.606, allocations: 0.6584 MB / 1.041 GB, free: 9.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.606, allocations: 0 / 1.041 GB, free: 9.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.6064, allocations: 433.6 kB / 1.041 GB, free: 9.262 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.6071, allocations: 126.9 kB / 1.041 GB, free: 9.145 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.6113, allocations: 3.755 MB / 1.045 GB, free: 5.148 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.6117, allocations: 0.827 MB / 1.046 GB, free: 4.297 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002346/0.6119, allocations: 83.34 kB / 1.046 GB, free: 4.215 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.6121, allocations: 123.4 kB / 1.046 GB, free: 4.094 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/0.6121, allocations: 0 / 1.046 GB, free: 4.094 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.368/1.98, allocations: 8.19 MB / 1.054 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/13.76, allocations: 9.188 kB / 1.054 GB, free: 12.1 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches